Message ID | 20230814141007.3721197-8-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2838719vqi; Mon, 14 Aug 2023 09:00:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWr1ldbmu0kucynmXQfPqEiavVqgg2VaR8+YJuXRgXlK/PLtynySQ34+PpjHDMXjPgSRF0 X-Received: by 2002:a05:6a00:b4d:b0:668:69fa:f78f with SMTP id p13-20020a056a000b4d00b0066869faf78fmr9196093pfo.1.1692028858760; Mon, 14 Aug 2023 09:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692028858; cv=none; d=google.com; s=arc-20160816; b=yF2Srg0EE79Jt7/ufA3mizVMMMCGLmeXocVCRwKu2GRhxrsqEP4yq29qSsma8oJFAY IOt99obQp3+IgCGvefe9A58z/M0RcK4+pTzcnKf5VW36lnc4GoGkjORQBdUsWgvyFKL4 2Q5Ig8PIquHdNTicJI6CkmpuMQR+9K+gLCjzewxKddpHquqs52sQznUd4wCDO2Jo/ceK R75U9fWtE02h5VkPD9kDoqYwCZbLvDb39LKuNP0N1ypcv37PW3SS9OzHyihPmL+ALcTb NmhQzU/SEuZhSkcX53kaPqVRPMHXFBd5AXOEhTUAFJfRFQ+brIQ/1WvXzKru1KfMchBc TKhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9HGhoQh+Cc1QnhiJuF+fRUaLv4iTYPEYMts/sNpzsFg=; fh=//zu3PsYWOPpkr/3y2P26yPUiLWhB+hLSpKnMYGDkzw=; b=Vzo4oCsmkmTC3x+9UB5kboj3WsI63pQd3nKOTmYlQ8UCIVWDEzV+29GJjdoO6eUiIG TqGQb3WTvKWxB1ajdzori6rFG3X2xvX2Y8X0upymzriuPO+QJwV/+WYlI0uPuF1+WNvY qbmQ6XTqFNhaSV1+c99TJFDJEu+ikR2RekVQAnFLqbazggxwxrSZmgjxEknm95UDuVmn UYxJG83jTVeW1UiCYCZMe78+z4m0ScDUt043PVChx+BjJs1rYJfnpEE0DSBd353coH24 5C515Uqs9xTUlDyCVXbGP4XG9oBU/V/oPD0c4itKeg4MX4fPrbgqHRS4NScu2J0eVm4h kiPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="q1/n7+K4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a056a00230b00b00687762552d6si8508746pfh.309.2023.08.14.09.00.41; Mon, 14 Aug 2023 09:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="q1/n7+K4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231888AbjHNOKq (ORCPT <rfc822;274620705z@gmail.com> + 99 others); Mon, 14 Aug 2023 10:10:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232005AbjHNOK0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Aug 2023 10:10:26 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD671711 for <linux-kernel@vger.kernel.org>; Mon, 14 Aug 2023 07:10:22 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fe1fc8768aso43972315e9.1 for <linux-kernel@vger.kernel.org>; Mon, 14 Aug 2023 07:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692022221; x=1692627021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9HGhoQh+Cc1QnhiJuF+fRUaLv4iTYPEYMts/sNpzsFg=; b=q1/n7+K4ipJ+tYmMshBiWs8UFexzbspwBdc9ZCpYUYLlsNKUPdUE7XnFw6RuBdLqNy v18ohU22Co4Wl4pabLqUcgicdRJkgvsmxbdJFjwPpNnj1z+1wqQx1zNg0WCYMUJKVQrA Mv2C97gY7qilWDANjiz4ufA83ERqMLcheTbDHadv0qk200LiHUiv2ITjphLMuILd17BR /+gvfp0YErQntLe/yWsqZqKpBvnq4RaQ3gBzgcIWZo/j3vQt1JVoDqBK7r6yNeLeIYih sqkl7r916TX2NGndd8elM8QBEkUGh9I+KokcQKbOWTP2VDzKk70zng3MU5HsKsfUTB6j okvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692022221; x=1692627021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9HGhoQh+Cc1QnhiJuF+fRUaLv4iTYPEYMts/sNpzsFg=; b=ecvw27DJGWQgyvWXNcboXHP/OR4rM6/nkUVhTsDtFkHaRQQQFaUsrizx48YJNhn9wi VduCJK1jZCS/jJ8z2Qt/LWZsIR8Stz0yvoUtoGwB6HSDUctSISir6GMIWWQ1B+IHL9go Aji+z3ke5pwIXnPnjKLE0isksL7rbWzOI8juRgLTPdf8U84QlYzTvJKy4kieWEF7Llt2 XkknDuZUG0eqnxhv7r1x2uHMbS2JQhLq/aoJE/RxAuPLwIHeznw4fbh4xwoa3GlzmLAd D5wQWzVVBtugwmE3wxAEAUILVWt9IvyOBr3tEAB2Vrxwl16wiYfrjnAVPlOr/kK/cv4d LNbw== X-Gm-Message-State: AOJu0Ywy46MnOjKwCA81oIlAWgyp8ddMKezfkeMYKYMB5q4Vnq0e/XWP oUURMNB7REmWQocWa3dN9URDtg== X-Received: by 2002:a1c:7910:0:b0:3fc:f9c:a3ed with SMTP id l16-20020a1c7910000000b003fc0f9ca3edmr8283076wme.22.1692022221036; Mon, 14 Aug 2023 07:10:21 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id p5-20020a1c7405000000b003fe1630a8f0sm17232749wmc.24.2023.08.14.07.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 07:10:20 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: rfoss@kernel.org, todor.too@gmail.com, bryan.odonoghue@linaro.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, sakari.ailus@linux.intel.com, andrey.konovalov@linaro.org Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v0 7/9] media: qcom: camss: Fix invalid clock enable bit disjunction Date: Mon, 14 Aug 2023 15:10:05 +0100 Message-ID: <20230814141007.3721197-8-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230814141007.3721197-1-bryan.odonoghue@linaro.org> References: <20230814141007.3721197-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774220852582253872 X-GMAIL-MSGID: 1774220852582253872 |
Series |
media: qcom: camss: Bugfix series
|
|
Commit Message
Bryan O'Donoghue
Aug. 14, 2023, 2:10 p.m. UTC
define CSIPHY_3PH_CMN_CSI_COMMON_CTRL5_CLK_ENABLE BIT(7)
disjunction for gen2 ? BIT(7) : is a nop we are setting the same bit
either way.
Fixes: 4abb21309fda ("media: camss: csiphy: Move to hardcode CSI Clock Lane number")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c b/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c index 04baa80494c66..4dba61b8d3f2a 100644 --- a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c +++ b/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c @@ -476,7 +476,7 @@ static void csiphy_lanes_enable(struct csiphy_device *csiphy, settle_cnt = csiphy_settle_cnt_calc(link_freq, csiphy->timer_clk_rate); - val = is_gen2 ? BIT(7) : CSIPHY_3PH_CMN_CSI_COMMON_CTRL5_CLK_ENABLE; + val = CSIPHY_3PH_CMN_CSI_COMMON_CTRL5_CLK_ENABLE; for (i = 0; i < c->num_data; i++) val |= BIT(c->data[i].pos * 2);