Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1307287iob; Wed, 4 May 2022 20:40:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5RzgX41q3d2xhO9qd+/og2QR1k8YIOD+sUu0seoThZ98K4NsLx6h/yCuXQDrTGCR1grNk X-Received: by 2002:a17:906:3a45:b0:6f4:e9e7:4ff with SMTP id a5-20020a1709063a4500b006f4e9e704ffmr2247848ejf.100.1651722005706; Wed, 04 May 2022 20:40:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651722005; cv=pass; d=google.com; s=arc-20160816; b=WQxXZJau6NiOEJwcXOfvm0MYkB/kJ6rqHL2Ii35z6KPHZNGwzE+z5UC6finQ+J5jyw l2B9Xzxr5aTOgebrrQtFzXTVXkI6ly7VgCBm4QPZajoDTEFspR+f/sKqkq7unTWLpjGL Yood2RiWVOwnc6IBC5a9VA8aHMugAqDPBCvz0ht2F6AIy+hy0sxKbVppM0TsN6/REq4q qJddiUNolmc7PUiYwKU1yNa+BFaP3g9ovMJC1K2w3LVN9ntWQBjQTP2YtcXcAUaTutTb Wl3oQ6yAoBwOBdVaaJg+QMEVyMBYIlkFpA6x7vmzXcxG2Xg0Uqk/BGEsqEjLCoXqwGf0 EAYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=GJVfs+56KwwfQPbj+ShccRmJEcqdojyGBLcP7HLmMwo=; b=uNwA6UGdnxL9vlLLFGOcULQYm0F3k/DvX/cGk3Tyqzvraf+/InqBOHReJKhz/E98va O+ajqJTq7/j0EP0sE4rLV5c5fc62NiPsOa/TcMHKcrZlQzuHZ2oFqOSnjdrfI+YcS4IZ yWti1gYX2YjkXCvWF68SEUd0RqifAMtTCKCQc4BcV22vFXt/3LhfgTBoU/rSf7fFk9kD IFyunuFpagp5brRYeJxa0LQaqXyHbiAbdEPld0h1lLNUE2Jg5+2OPgUhGKOrPbqm7n19 kO160j61Rdtr6chhadfTkTenbsJhoawmxx2BIU8zv0/ZF3++zRRWBqdRJR/eTyx9zqbp ZRjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=D8sX4HA6; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a1709062a1300b006f3a0afcfd8si926277eje.133.2022.05.04.20.39.41; Wed, 04 May 2022 20:40:05 -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=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=D8sX4HA6; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351284AbiEDOY5 (ORCPT + 99 others); Wed, 4 May 2022 10:24:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351282AbiEDOYz (ORCPT ); Wed, 4 May 2022 10:24:55 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2090.outbound.protection.outlook.com [40.107.117.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D352C2ED62; Wed, 4 May 2022 07:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L3aIA20UXRRs9og5IqL4cPlq9IXI1PWRERfldf8cQ0gRwVfTAIWvJVF02ULH75UdV0yWRp/hGIEu6KvpsXplKb2k0WOQVJMmI9dnsDrY9sosL4f4MNusBVh8f8cvWQhnQcuVloqg3TOdrwrEvKoWOsfy3fR8cIkjUn8LEFmRY8AoA1rxzayLMMU8nzagcHnFCtKV0AF18C5NmwZcuErtOu3lR0ClcraHhQBGKlDh33k9EiGWqGOvQuNEH1yjJyjyFxWMs0LnuCtcvlpMdniNEjRtX6WmmrPfBVDFuC+dWZlAZWNw6jhBFuVGY97bc+aFxvDGTrEwrqR0qwzZAxzQCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GJVfs+56KwwfQPbj+ShccRmJEcqdojyGBLcP7HLmMwo=; b=EZI462ehkU7QMFkx7cb4Gxq8PRA/RYp/KsuGqxEbS4QFuptAMnctFyCSWdkZnD3c38ZEfnAjb+sqZHKGMCK6rkAHv0WKdnsZ8/w0pyx37NKMB9yTTPE//BgMoWkm+UssUCmoCcBGxz7FHMdiV18nWQEtJvSs2aag17L95Z0sk+weBLyCDoWiwTZrTigzDMmaqYz3eK7uZXilVG5HTCTBg3prhJJzE3eZrBJbltAyctGfHgg4Y2OMEEP1MiFlKlB0wRPYLsmDQI1KrEH4bNbh5N/f1jFpqykEQQpGx6id51XvQcuu6BPJdxFX0NkKPw0b1tHtNdziX1QTKc6BAd6l1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo0.onmicrosoft.com; s=selector2-vivo0-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GJVfs+56KwwfQPbj+ShccRmJEcqdojyGBLcP7HLmMwo=; b=D8sX4HA6kGVAnI/4YCa1zf69OesvJCdLRsAriaut9X4IgN2fAde4AjWciKlimkMqs8nuu/t3moWPtYhOYpcXdBTmyNVdbO1GiQTL77MPeFB7vRM5ksfMgZxDA7NtzZ9AfZQUD8z4c8UKy7/cs6Gb15QS7scTl+BpzY2POKXjYq8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SG2PR06MB3367.apcprd06.prod.outlook.com (2603:1096:4:78::19) by PU1PR06MB2373.apcprd06.prod.outlook.com (2603:1096:803:30::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.19; Wed, 4 May 2022 14:21:11 +0000 Received: from SG2PR06MB3367.apcprd06.prod.outlook.com ([fe80::4591:4f3e:f951:6c8c]) by SG2PR06MB3367.apcprd06.prod.outlook.com ([fe80::4591:4f3e:f951:6c8c%7]) with mapi id 15.20.5186.028; Wed, 4 May 2022 14:21:11 +0000 From: Wan Jiabing To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Biju Das , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] clk: renesas: rzg2l: Fix duplicate argument in rzg2l-cpg Date: Wed, 4 May 2022 22:20:57 +0800 Message-Id: <20220504142058.18704-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.35.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: HK2P15301CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::23) To SG2PR06MB3367.apcprd06.prod.outlook.com (2603:1096:4:78::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6be517b4-dd12-43af-8017-08da2dd956a7 X-MS-TrafficTypeDiagnostic: PU1PR06MB2373:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n9Cr8m1HmZBT/hApHJIFHRm9mdlwu9Gf83MeDgpINS73L11sv//+b/i6tDuRjMa0ojWaNrYeDZ8Tz5Hp0u4lAnR1WI1fWTOdp4tRfCyDMrj+wxAjmDwwZ+aPFu+oeWfqZh1eH7a+3DkdnAHlqsDVBwouTjicRLbGV8ZhvJv+BHkZ9wOXBZ8BlzGW8+qrOnXPCEpfTof9OAN2j8zChRKO21Q7LSK7eOeMo//AuLdjgF8sAy3IjRhvfUdzwn7bcaf7+7H/4ZSZ6PwfFE3kPa77y5UWqrJdCuJSzJ7zGYi2zX5hNnLoej56KxfHMBMrLWf/FbDclE6GTrMXgfVZGYLTPmiEe+nUurVAAsDy4sPyGNyJzi4tgU2pX/5y8ZqYqw5V+11k7JZDn6mxC2m4ff1+Sa6F3kharl9WnLtwiiQPfLqW/LaBvTSYwMeyED8VjVarEcoG3p+8S1OvoliquKzHP6Ca4R7S59Nx133BdLzvk7j5nYz3upvGsn7zwCcqcBDU5xhqvDFwYaV+WXdYsONi09gyne2JxkNiws1nhi21RUv2wGNxXxjs4/CyJ5EYPMZgig8ZCk4YU9dFj39wFFEoqr+sa1bkydGOr7L3TXIetunBzcwIOT+2RmtwKEA6+hStYmch+guqyUgUz5GQ6PCKE+taKxX85HT8vGnkyM2aKcdF2GHAPH1MomQY1oSdGhc3CG2HGejzsm7RXlWgVx0x3A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR06MB3367.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(52116002)(6666004)(110136005)(6506007)(36756003)(186003)(107886003)(316002)(26005)(86362001)(66946007)(508600001)(1076003)(6486002)(4326008)(2616005)(8936002)(66476007)(8676002)(66556008)(5660300002)(6512007)(2906002)(83380400001)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?qiq3rL8tGvY9gOC4uKR21MbUCo9LVXPxH9tUe6GuDtVcDl0tK1aE1dEgF+3G?= =?us-ascii?Q?XaHuwo2BaEPZKMDduaxeC/uPP/NmiFEuxCsDNshkq62+zSjGdkYAs0sPfyJN?= =?us-ascii?Q?C2cePZpHyKlx8tdrgfKyKXARYNh7UaS6pjxnYVgZ7uYxfsglNiAXASIIUboM?= =?us-ascii?Q?8xj8SGu0GUEerpvsGX7zQEuJQwdFnKWceOUJUk2A+lMlNuZu7zp8e7gdXPdn?= =?us-ascii?Q?FWHhwgjo7kKvYMOHRFAdWM4MWB+NUBe6o7niuM012CArFOtVe1/fOk+R9O+5?= =?us-ascii?Q?7dRX5QY6Z6X8HRy3hJzBicLfAlIywjhJRV5hWH1iMOUyUjx2MS5E20AojZUH?= =?us-ascii?Q?oZqQaTPRB/g80c2r9+1ATid6pmUSK4OW639TWaf8foFSU7hH9puZgkthjoFi?= =?us-ascii?Q?kkCS9R66hhzMr9bqkjj1CRmfkDZoXsaKJJd6D/zJQum5ABXP5KE6r2wXeZaF?= =?us-ascii?Q?WNlXmFKKpiXSB7l49TBV06XX3WlE2oiafgraFf1FsWoN9MkpcPGL2JO7jqxw?= =?us-ascii?Q?A/J7/wHCcm+oyrLU0ygr3JlDqz7VyHr+lT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MH8Y?= =?us-ascii?Q?pVbjof91iZVLvyT3d1EEYV8wfiakkIaGfx7tP13/SfQ+j75WRj0hulDBiier?= =?us-ascii?Q?5XzLFqyFom+aBFvWz0SWR4QXbjb+pnjCj7wFczXwbVnXqKP2K85IyY9/VSXm?= =?us-ascii?Q?xBr/jch5zc4SsJ5zhRp1BFGsyVn3f792UeWHHna+LknQuUK364AwvQfLi3lf?= =?us-ascii?Q?Iy3+lJctt0g8lQ6AxeX+j750PKSae4gzsT8aDPCStqni4offgcUJeTobZFrx?= =?us-ascii?Q?jSmFUdXpFVzeM1T3odSIGhUPdU8o3+Y/f9a2Yb/YhHdnaP43/y0hd3kWLNkE?= =?us-ascii?Q?BcK1WvzDdQ=3D=3D?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6be517b4-dd12-43af-8017-08da2dd956a7 X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB3367.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2022 14:21:11.6160 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b31RFYzb+zGoQoDegK/Iw2Bt1NGTJflC9adqzgnAAauK19N9gfJXIl7bLRHVhn3vp/7WSEKzIqQxFcdURZbDgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1PR06MB2373 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Fix following coccicheck warning: ./drivers/clk/renesas/rzg2l-cpg.c:603:39-65: duplicated argument to & or | The CPG_SIPLL5_CLK1_REFDIV_WEN here is duplicated. Here should be CPG_SIPLL5_CLK1_POSTDIV2_WEN. Fixes: a16ed737e62b ("clk: renesas: rzg2l: Add FOUTPOSTDIV clk support") Signed-off-by: Wan Jiabing --- drivers/clk/renesas/rzg2l-cpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/rzg2l-cpg.c b/drivers/clk/renesas/rzg2l-cpg.c index 15412cc58337..a1e1fee9f483 100644 --- a/drivers/clk/renesas/rzg2l-cpg.c +++ b/drivers/clk/renesas/rzg2l-cpg.c @@ -600,7 +600,7 @@ static int rzg2l_cpg_sipll5_set_rate(struct clk_hw *hw, } /* Output clock setting 1 */ - writel(CPG_SIPLL5_CLK1_POSTDIV1_WEN | CPG_SIPLL5_CLK1_REFDIV_WEN | + writel(CPG_SIPLL5_CLK1_POSTDIV1_WEN | CPG_SIPLL5_CLK1_POSTDIV2_WEN | CPG_SIPLL5_CLK1_REFDIV_WEN | (params.pl5_postdiv1 << 0) | (params.pl5_postdiv2 << 4) | (params.pl5_refdiv << 8), priv->base + CPG_SIPLL5_CLK1); -- 2.35.1