clk: imx: imx8qxp: Fix elcdif_pll clock
authorRobert Chiras <robert.chiras@nxp.com>
Tue, 12 Sep 2023 09:19:00 +0000 (17:19 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Wed, 4 Oct 2023 12:43:59 +0000 (15:43 +0300)
commit15cee75dacb82ade710d61bfd536011933ef9bf2
tree33acee724f520d5f6dbe9594ceedd37220ca294c
parentab2c30f6bbe34dbf13ff2cc0cf7bc237de2df013
clk: imx: imx8qxp: Fix elcdif_pll clock

Move the elcdif_pll clock initialization before the lcd_clk, since the
elcdif_clk needs to be initialized ahead of lcd_clk, being its parent.
This change fixes issues with the LCD clocks during suspend/resume.

Fixes: babfaa9556d7 ("clk: imx: scu: add more scu clocks")
Suggested-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
Acked-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Signed-off-by: Robert Chiras <robert.chiras@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-2-69a34bcfcae1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8qxp.c