clk: qcom: clk-alpha-pll: reorder Stromer register offsets
authorGabor Juhos <j4g8y7@gmail.com>
Mon, 11 Mar 2024 18:45:20 +0000 (19:45 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sun, 21 Apr 2024 17:15:36 +0000 (12:15 -0500)
The register offset arrays are ordered based on the register
offsets for all PLLs but the Stromer. For consistency, reorder
the Stromer specific array as well.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240311-alpha-pll-stromer-cleanup-v1-2-f7c0c5607cca@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c

index acb68ec0c579ec73ab7f8765033b1c9698386236..7f0ed5bd51e3defddbf1b36d237fab2df65bb16d 100644 (file)
@@ -213,9 +213,9 @@ const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = {
                [PLL_OFF_USER_CTL] = 0x18,
                [PLL_OFF_USER_CTL_U] = 0x1c,
                [PLL_OFF_CONFIG_CTL] = 0x20,
+               [PLL_OFF_STATUS] = 0x28,
                [PLL_OFF_TEST_CTL] = 0x30,
                [PLL_OFF_TEST_CTL_U] = 0x34,
-               [PLL_OFF_STATUS] = 0x28,
        },
        [CLK_ALPHA_PLL_TYPE_STROMER_PLUS] =  {
                [PLL_OFF_L_VAL] = 0x04,