Message ID | 1532343772-27382-8-git-send-email-todor.tomov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5912971ljj; Mon, 23 Jul 2018 04:07:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd62JA4OLbWeNn+Cab6VhOoRGNpAW6kp+IPWUqy8vOUdAyhvCFkwXalCL/z5aCpHHcEUudz X-Received: by 2002:a65:4541:: with SMTP id x1-v6mr11566219pgr.26.1532344047387; Mon, 23 Jul 2018 04:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532344047; cv=none; d=google.com; s=arc-20160816; b=bZOPl+WR+i2xExpJdEa7dGfhVJJ3RnKQNAqH9EQmrzJh3srmhRwJ3yZcKcVytwCTfF J1gCWOvKKgqtD0Ox78Ylscty3BJ52Y+oYjKHuOuEzWarwc0MC8E/euCKjBQELejs9Msh Xf7GkD3e4tkLN3bi9gZpvfNYLwbzADy1suQd/moOMmGx2EI6lyy0U3jsQ+nZaP35t6jF ljdZWK3uAifCD1SeG6JF1xu4dvj9pSZwdL+xd9L2UwBnkFsOPa5OSSJ/qcl7Pliqf8iF AI+znbvYCrU3o9oDbAFuSxnUaVnKCIgkvCDPXhcHlHHUDTtiouyXp7lttWtV/cXvI21E 5D9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=sH7oRCdvtHVIVF8kquYevQnEBk97DO+DZw/tnWBZzss=; b=kKL+bY7wueuN9vaGMuPXunNEV3rPGMwc1aJBTC18nqlwoTs0qYlLJrXAeTQuMhpkdV Z6sxRUfIsDcaNwL4tXnLhbYWBO52vsfZ0d79GzZ3SzdHUO6C1vrbMwrvQ4vyG9U7x27r OhsmNm85grHh5c0a1dI9/bjksxqySIjRmFS3pQPzjzIeg06FvZIRhbqeZTmmLL8UHP2Q j5CeFgExaV2ZJV5N3yJYbHVBN6+JdovsQ79ptpOT4fzSjUzSI0hqC9dKt6RL64pvbjnK 2V2lyVU4T9EiOF6jat1queazh30hB9q5Ln1Owig66QxVcXVdFXLJu9qWoM5il/bhvP43 cO3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2-v6si8648203pgs.475.2018.07.23.04.07.27; Mon, 23 Jul 2018 04:07:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388543AbeGWMIE (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Mon, 23 Jul 2018 08:08:04 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:39912 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388059AbeGWMEo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Jul 2018 08:04:44 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 5BB97CD56; Mon, 23 Jul 2018 14:04:02 +0300 (EEST) From: Todor Tomov <todor.tomov@linaro.org> To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, laurent.pinchart+renesas@ideasonboard.com, linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Todor Tomov <todor.tomov@linaro.org> Subject: [PATCH v3 07/35] media: camss: csiphy: Ensure clock mux config is done before the rest Date: Mon, 23 Jul 2018 14:02:24 +0300 Message-Id: <1532343772-27382-8-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532343772-27382-1-git-send-email-todor.tomov@linaro.org> References: <1532343772-27382-1-git-send-email-todor.tomov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Qualcomm Camera Subsystem driver - 8x96 support
|
expand
|
diff --git a/drivers/media/platform/qcom/camss/camss-csiphy.c b/drivers/media/platform/qcom/camss/camss-csiphy.c index b37e691..2a9adcd 100644 --- a/drivers/media/platform/qcom/camss/camss-csiphy.c +++ b/drivers/media/platform/qcom/camss/camss-csiphy.c @@ -364,6 +364,7 @@ static int csiphy_stream_on(struct csiphy_device *csiphy) val |= cfg->csid_id; } writel_relaxed(val, csiphy->base_clk_mux); + wmb(); writel_relaxed(0x1, csiphy->base + CAMSS_CSI_PHY_GLBL_T_INIT_CFG0);
Add a write memory barier after clock mux config and before the rest of the csiphy config. Signed-off-by: Todor Tomov <todor.tomov@linaro.org> --- drivers/media/platform/qcom/camss/camss-csiphy.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4