Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp850126pxb; Thu, 17 Feb 2022 16:33:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbQvmrWFyHp7MXgNXhIii0EdrApv7p4AHEvVg4pxSoTiPq+cYbraNeNFH6bJ2AzXWiWdqJ X-Received: by 2002:a63:b544:0:b0:373:bd90:137a with SMTP id u4-20020a63b544000000b00373bd90137amr2724227pgo.154.1645144385217; Thu, 17 Feb 2022 16:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645144385; cv=none; d=google.com; s=arc-20160816; b=OnES3FOMUVcZoIVdDs0jWR9xFdZHKz2gtUxq5BZaFM63H9hjvxB5xHIhkbBv9i0KKd oq/K/pJHR9RURxhTciK+qBnWHYDvo4QPFOs83kj+2o+cSpe7rRFjsn23nzwmR31icUMp HTyWn1kgNykRrVea7/SLnYxs7qIm2rCdLkNh+buvzbiNF8iC5Ytxkmgu8aQM4dACAPMY Tu3VWw3TOO1iBloHZ4sXGYD9zYMsXoAQop+arxenqjrz80bBaNafolOrv7O6hk+l7C+b jTp8lISUaalPkHhJ8DjhuT9GUvalNOXZT74VDD3GsLzrXkqHNXOyFk76iBlEHToN4F3e sXPg== 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:to:from :dkim-signature; bh=u469mMf11FmBaVlEEJAE/kqasFIogYLGPGt/lzpdIA8=; b=xmbkETa31bpt5qey7UDq9yrbNqQN9dvZgwYfft5GrkhWbrvek9S5MfZMMIYlcYJKNP UhzJwrx3x6xCd1HS7k47Vlcl0htLvdhDF0f4GR+sOBFem2A7YKqKJKk08OGGitUYpysD 1PUAy70FNDZ2fHNo2pDh+S5jiC0UPjlMPKRZmRGkPsvH0Y7KxFD5/s3X3wHrCllWhXn4 evCMi1YnRicCnxYtIk0aMQZ2ujH9ivkei1Zl1IcHGL+i+QSxiesF9408yi5+CbRHHG3J +KTfD36DGB9e8gcmgyeUuLk4Q6K7SAsNC2Nu8AdvR1GH2fwWgDLWIOdRiLj7wzFPpr2F NkEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lPHwNX27; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 62si9376249pgc.281.2022.02.17.16.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 16:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lPHwNX27; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A5DB3334F; Thu, 17 Feb 2022 15:59:12 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbiBQX5i (ORCPT + 99 others); Thu, 17 Feb 2022 18:57:38 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:52874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbiBQX50 (ORCPT ); Thu, 17 Feb 2022 18:57:26 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2626419BE; Thu, 17 Feb 2022 15:57:08 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id x5so6814085wrg.13; Thu, 17 Feb 2022 15:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=u469mMf11FmBaVlEEJAE/kqasFIogYLGPGt/lzpdIA8=; b=lPHwNX27fK0/ySI3rIP5nQfAaPbHlv+g461yKHUe+HA+mMp3xXqJnvr+h4B6xCXHx/ gxCe/RdAo+t7eeqW/KC/XgmJsUz2GuSlygfO7EHMJbA0LX4jTn0q+ZFkMv4JWLHaqiXr Z7KPsVD7X3uxq/2fKqUB93KFPvAi7jRh7tBZov2TWM/z6A9gRC7yp3KLVy8JaaHneQi+ V7PgDkkB24nUPecdWbOPkjMVb585ZhSRnKuWBJrkZ1oZXGWD2p56XySlDRNV+fxYPdDt kqY64hDYPmxXd7l1vF8Lqoc3/vWZSVgXt6GWoyToLNSDyr6+ut7Dlrdoe1dhQY2ygfog MANQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u469mMf11FmBaVlEEJAE/kqasFIogYLGPGt/lzpdIA8=; b=4lTS9WZ8zhKAdm2ppNSTr2Xf/NiZhVMKdgrZtw6LpuwwRDdH9hrlPfrHhpfmSKd3fS uhQdJBvR0qxDN3jHwGUv9pDKyKvK+WYi2Kn/Nu8T3sGjxGdAk91TWf3m+YzkOb8EniZX oyCyoL8LX/C8AW4x7DVQujY7OlwX39SvXe8B/YvP/K8AajGjruNLp4yf96lF2MmKDkj6 g1NssvbD0y8JkdWoQTd0pt30rWHy4YKG6yMPccMODYDYDecfDcU07MxKZe0WYs8dwEST Lccikg6ChVW8n06s3DLjJoMbzczYegx/xRLZVsRM9i/I6APzUY4X4rpx3dL0jfk2lkw9 iT+g== X-Gm-Message-State: AOAM5327ce6d/iQncF1ILRaQcCI3N01ZBjRRLSqhz5OUgq16TFiD26on cDBMY69Zef0dzclL/uSje18= X-Received: by 2002:a5d:4534:0:b0:1e4:9d38:2d4f with SMTP id j20-20020a5d4534000000b001e49d382d4fmr4147985wra.2.1645142227291; Thu, 17 Feb 2022 15:57:07 -0800 (PST) Received: from Ansuel-xps.localdomain (93-42-71-246.ip85.fastwebnet.it. [93.42.71.246]) by smtp.googlemail.com with ESMTPSA id r2sm3691694wmq.24.2022.02.17.15.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:57:06 -0800 (PST) From: Ansuel Smith To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Philipp Zabel , Taniya Das , Ansuel Smith , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 04/16] clk: qcom: gcc-ipq806x: fix wrong naming for gcc_pxo_pll8_pll0 Date: Fri, 18 Feb 2022 00:56:51 +0100 Message-Id: <20220217235703.26641-5-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220217235703.26641-1-ansuelsmth@gmail.com> References: <20220217235703.26641-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Parent gcc_pxo_pll8_pll0 had the parent definition and parent map swapped. Fix this naming error. Signed-off-by: Ansuel Smith --- drivers/clk/qcom/gcc-ipq806x.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c index d6b7adb4be38..34cddf461dba 100644 --- a/drivers/clk/qcom/gcc-ipq806x.c +++ b/drivers/clk/qcom/gcc-ipq806x.c @@ -291,13 +291,13 @@ static const char * const gcc_pxo_pll3[] = { "pll3", }; -static const struct parent_map gcc_pxo_pll8_pll0[] = { +static const struct parent_map gcc_pxo_pll8_pll0_map[] = { { P_PXO, 0 }, { P_PLL8, 3 }, { P_PLL0, 2 } }; -static const char * const gcc_pxo_pll8_pll0_map[] = { +static const char * const gcc_pxo_pll8_pll0[] = { "pxo", "pll8_vote", "pll0_vote", @@ -1993,7 +1993,7 @@ static struct clk_rcg usb30_master_clk_src = { }, .s = { .src_sel_shift = 0, - .parent_map = gcc_pxo_pll8_pll0, + .parent_map = gcc_pxo_pll8_pll0_map, }, .freq_tbl = clk_tbl_usb30_master, .clkr = { @@ -2001,7 +2001,7 @@ static struct clk_rcg usb30_master_clk_src = { .enable_mask = BIT(11), .hw.init = &(struct clk_init_data){ .name = "usb30_master_ref_src", - .parent_names = gcc_pxo_pll8_pll0_map, + .parent_names = gcc_pxo_pll8_pll0, .num_parents = 3, .ops = &clk_rcg_ops, .flags = CLK_SET_RATE_GATE, @@ -2063,7 +2063,7 @@ static struct clk_rcg usb30_utmi_clk = { }, .s = { .src_sel_shift = 0, - .parent_map = gcc_pxo_pll8_pll0, + .parent_map = gcc_pxo_pll8_pll0_map, }, .freq_tbl = clk_tbl_usb30_utmi, .clkr = { @@ -2071,7 +2071,7 @@ static struct clk_rcg usb30_utmi_clk = { .enable_mask = BIT(11), .hw.init = &(struct clk_init_data){ .name = "usb30_utmi_clk", - .parent_names = gcc_pxo_pll8_pll0_map, + .parent_names = gcc_pxo_pll8_pll0, .num_parents = 3, .ops = &clk_rcg_ops, .flags = CLK_SET_RATE_GATE, @@ -2133,7 +2133,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = { }, .s = { .src_sel_shift = 0, - .parent_map = gcc_pxo_pll8_pll0, + .parent_map = gcc_pxo_pll8_pll0_map, }, .freq_tbl = clk_tbl_usb, .clkr = { @@ -2141,7 +2141,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = { .enable_mask = BIT(11), .hw.init = &(struct clk_init_data){ .name = "usb_hs1_xcvr_src", - .parent_names = gcc_pxo_pll8_pll0_map, + .parent_names = gcc_pxo_pll8_pll0, .num_parents = 3, .ops = &clk_rcg_ops, .flags = CLK_SET_RATE_GATE, @@ -2197,7 +2197,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = { }, .s = { .src_sel_shift = 0, - .parent_map = gcc_pxo_pll8_pll0, + .parent_map = gcc_pxo_pll8_pll0_map, }, .freq_tbl = clk_tbl_usb, .clkr = { @@ -2205,7 +2205,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = { .enable_mask = BIT(11), .hw.init = &(struct clk_init_data){ .name = "usb_fs1_xcvr_src", - .parent_names = gcc_pxo_pll8_pll0_map, + .parent_names = gcc_pxo_pll8_pll0, .num_parents = 3, .ops = &clk_rcg_ops, .flags = CLK_SET_RATE_GATE, -- 2.34.1