From: Konrad Dybcio Date: Sun, 6 Jun 2021 19:26:57 +0000 (+0200) Subject: clk: qcom: smd-rpm: Fix wrongly assigned RPM_SMD_PNOC_CLK X-Git-Tag: v5.15~767^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d32cd3315f37a20cd4753a2bad7e28be183e748;p=platform%2Fkernel%2Flinux-starfive.git clk: qcom: smd-rpm: Fix wrongly assigned RPM_SMD_PNOC_CLK During my big cleanup I managed to assign an AO clock to its non-AO binding. Fix this. Reported-by: Bartosz Dudziak Signed-off-by: Konrad Dybcio Link: https://lore.kernel.org/r/20210606192657.51037-1-konrad.dybcio@somainline.org Fixes: a0384ecfe2aa ("clk: qcom: smd-rpm: De-duplicate identical entries") Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 295fc08..daf09dd 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,