]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx: clk: correct arm clock usecount
authorAnson Huang <b20788@freescale.com>
Fri, 15 Nov 2013 18:14:18 +0000 (13:14 -0500)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 9 Dec 2013 05:18:36 +0000 (13:18 +0800)
commit3c2ce58a0a072b3e43fee11273edf1770c2b1ebd
tree169b3dcfbbac1e0e7f03a336d3de53e0690cc6dd
parent4abb8f82791aeddf65536fb66aa1cdb47ed995c1
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 <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c