From: Anson Huang Date: Fri, 15 Nov 2013 18:14:18 +0000 (-0500) Subject: ARM: imx: clk: correct arm clock usecount X-Git-Tag: next-20131210~93^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3c2ce58a0a072b3e43fee11273edf1770c2b1ebd;p=karo-tx-linux.git ARM: imx: clk: correct arm clock usecount ARM clock is sourcing from pll1_sw, and pll1_sw can be either from pll1_sys or step, so we should enable arm clock during clock initialization instead of pll1_sys, otherwise, arm clock's usecount would be incorrect and PLL1 will never be disabled even it is not used. Signed-off-by: Anson Huang Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 04cfd0fcb0e5..74ecceb4b5f4 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -114,7 +114,7 @@ static struct clk *clk[clk_max]; static struct clk_onecell_data clk_data; static enum mx6q_clks const clks_init_on[] __initconst = { - mmdc_ch0_axi, rom, pll1_sys, + mmdc_ch0_axi, rom, arm, }; static struct clk_div_table clk_enet_ref_table[] = {