From e5018a1715f610b55dd38dadcf37af447f48528d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 4 May 2020 22:41:22 +0200 Subject: clk: mxs: Fix clock numbering The device tree clock lookups use the position in the clks array, hence they must match. fec_sleep is a barebox specific clock and is in between other clocks. Put the clock at the end of the array. Signed-off-by: Sascha Hauer --- drivers/clk/mxs/clk-imx28.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/clk') diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c index aedd8d4a7c..241b26c9a2 100644 --- a/drivers/clk/mxs/clk-imx28.c +++ b/drivers/clk/mxs/clk-imx28.c @@ -56,8 +56,8 @@ enum imx28_clk { emi_xtal, lcdif_div, etm_div, ptp, saif0_div, saif1_div, clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0, ssp1, ssp2, ssp3, gpmi, spdif, emi, saif0, saif1, lcdif, etm, - fec_sleep, fec, can0, can1, usb0, usb1, usb0_phy, usb1_phy, enet_out, - lcdif_comp, clk_max + fec, can0, can1, usb0, usb1, usb0_phy, usb1_phy, enet_out, + lcdif_comp, fec_sleep, clk_max }; static struct clk *clks[clk_max]; -- cgit v1.2.3