clk: qcom: ipq5332: fix the order of SLEEP_CLK and XO clock
authorKathiravan T <quic_kathirav@quicinc.com>
Mon, 17 Apr 2023 10:56:07 +0000 (16:26 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 26 May 2023 20:29:32 +0000 (13:29 -0700)
The order of DT_SLEEP_CLK and DT_XO are swapped and it is incorrect.
Due to which the clocks for which the parent should be XO is having parent
as SLEEP_CLK and vice versa. So fix the same by re-ordering the entries.

Fixes: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC")
Reported-by: Devi Priya <quic_devipriy@quicinc.com>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230417105607.4091-1-quic_kathirav@quicinc.com
drivers/clk/qcom/gcc-ipq5332.c

index b9ab676..a75ab88 100644 (file)
@@ -20,8 +20,8 @@
 #include "reset.h"
 
 enum {
-       DT_SLEEP_CLK,
        DT_XO,
+       DT_SLEEP_CLK,
        DT_PCIE_2LANE_PHY_PIPE_CLK,
        DT_PCIE_2LANE_PHY_PIPE_CLK_X1,
        DT_USB_PCIE_WRAPPER_PIPE_CLK,