diff mbox series

clk: qcom: smd-rpm: Fix wrongly assigned RPM_SMD_PNOC_CLK

Message ID 20210606192657.51037-1-konrad.dybcio@somainline.org
State Accepted
Commit 2d32cd3315f37a20cd4753a2bad7e28be183e748
Headers show
Series clk: qcom: smd-rpm: Fix wrongly assigned RPM_SMD_PNOC_CLK | expand

Commit Message

Konrad Dybcio June 6, 2021, 7:26 p.m. UTC
During my big cleanup I managed to assign an AO clock to its
non-AO binding. Fix this.

Reported-by: Bartosz Dudziak <bartosz.dudziak@snejp.pl>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 drivers/clk/qcom/clk-smd-rpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Boyd June 9, 2021, 12:48 a.m. UTC | #1
Quoting Konrad Dybcio (2021-06-06 12:26:57)
> During my big cleanup I managed to assign an AO clock to its

> non-AO binding. Fix this.

> 

> Reported-by: Bartosz Dudziak <bartosz.dudziak@snejp.pl>

> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>

> ---


Applied to clk-next + added a Fixes tag.
diff mbox series

Patch

diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c
index 295fc08eddb9..daf09dd61055 100644
--- a/drivers/clk/qcom/clk-smd-rpm.c
+++ b/drivers/clk/qcom/clk-smd-rpm.c
@@ -518,7 +518,7 @@  DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8974, cxo_a1_pin, cxo_a1_a_pin, 5);
 DEFINE_CLK_SMD_RPM_XO_BUFFER_PINCTRL(msm8974, cxo_a2_pin, cxo_a2_a_pin, 6);
 
 static struct clk_smd_rpm *msm8974_clks[] = {
-	[RPM_SMD_PNOC_CLK]		= &msm8916_pcnoc_a_clk,
+	[RPM_SMD_PNOC_CLK]		= &msm8916_pcnoc_clk,
 	[RPM_SMD_PNOC_A_CLK]		= &msm8916_pcnoc_a_clk,
 	[RPM_SMD_SNOC_CLK]		= &msm8916_snoc_clk,
 	[RPM_SMD_SNOC_A_CLK]		= &msm8916_snoc_a_clk,