clk: imx: imx8dxl-rsrc: keep sorted in the ascending order
authorViorel Suman <viorel.suman@nxp.com>
Tue, 12 Sep 2023 09:18:59 +0000 (17:18 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Wed, 4 Oct 2023 12:43:51 +0000 (15:43 +0300)
Entries in imx8dxl_clk_scu_rsrc_table must be kept in the ascending
order, and IMX_SC_R_M4_0_UART < IMX_SC_R_M4_0_I2C.

Fixes: 036a4b4b4dfa ("clk: imx: Add imx8dxl clk driver")
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230912-imx8-clk-v1-v1-1-69a34bcfcae1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8dxl-rsrc.c

index 69b7aa34fff5c5a7c9300b7d03e74b3e9651fde7..a36e821ba807aebebc9d8926e0af4e94e4ed2443 100644 (file)
@@ -50,8 +50,8 @@ static u32 imx8dxl_clk_scu_rsrc_table[] = {
        IMX_SC_R_MLB_0,
        IMX_SC_R_USB_1,
        IMX_SC_R_NAND,
-       IMX_SC_R_M4_0_I2C,
        IMX_SC_R_M4_0_UART,
+       IMX_SC_R_M4_0_I2C,
        IMX_SC_R_ELCDIF_PLL,
        IMX_SC_R_AUDIO_PLL_0,
        IMX_SC_R_AUDIO_PLL_1,