Message ID | 1529681621-9682-8-git-send-email-todor.tomov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1024048lji; Fri, 22 Jun 2018 08:41:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ9+QCIkISLDCaAAlNFUSNfDN2O8aZDERUtfM9c/5PqO1DfN5yEdi3JAo1tkoQMTSeW8bmO X-Received: by 2002:a62:1747:: with SMTP id 68-v6mr2281905pfx.69.1529682116920; Fri, 22 Jun 2018 08:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529682116; cv=none; d=google.com; s=arc-20160816; b=kVn0f9S2QheOA82B1qDnkTwuoMdktHU13FjldNZpcn8BeLRtNA9nWZqL6qw2k7AoXL kGUvZY6ujHTzbrZhBLABauoxHdg+xfa7A08301DBAsiKREtAFFD5CgHBgPh9fQvgkkI+ 4s9/FtFFAAHApFgSQnVreA2Qf8zRfJNQ/bqezdZSduPuf4l+K0FvzsFd0bHzb/9rsCqR HyIPfZivsiN/woJSZpUJRKNpFkzTZ6VrkC5w/2eRmCPx6lIYccxEEn/JhFNlVDfmRH18 LuHh7z4fV8a2/lbnNwXQt/BGISsriF2UeRZNfR5NfHlHbHEDnd6/YJiBUSHR3+DoYQWV 6i2Q== 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=NW4DRjrc+PU4v+xFVQJPCjpNI9cAyTWRyLlwq0GHMA7WKaWgETTsxXkNYsKc61JY6J 2QCQfqICQYvnyOgHtvoVLdngxdXguYZa+T2WM82ws54iHwgblzSt+6hekyq7h148bo4P OGeTab6PrKnhpX6Yd60XqMLVZfpSKCbAYXAuMzDC+bC3LQtOPxrjOFq0hD7V8PsNhfe0 Gxze1BKdExoP9Az/S8iy5Jl9yulFN5Qcyl4vd0qxqqg915bkj5bP5xH9LBSB/ssjz9a0 RsfANOzc0svLqzJf5KCchXL8Q66+cgjU3yI417d/SktkjxEC+AqcYX5VFyd8Mf/MQOsj bhVg== 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 b35-v6si7810543plh.36.2018.06.22.08.41.56; Fri, 22 Jun 2018 08:41:56 -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 S934036AbeFVPlz (ORCPT <rfc822; heyi.guo@linaro.org> + 31 others); Fri, 22 Jun 2018 11:41:55 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:46413 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933942AbeFVPeD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 22 Jun 2018 11:34:03 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 2B98D4F883; Fri, 22 Jun 2018 18:33:59 +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 07/32] media: camss: csiphy: Ensure clock mux config is done before the rest Date: Fri, 22 Jun 2018 18:33:16 +0300 Message-Id: <1529681621-9682-8-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529681621-9682-1-git-send-email-todor.tomov@linaro.org> References: <1529681621-9682-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