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>
Tue, 31 Dec 2013 01:36:21 +0000 (09:36 +0800)
commit8202a3ce9ccc6a6bfdae072b8c735a1f894f8b74
tree169b3dcfbbac1e0e7f03a336d3de53e0690cc6dd
parent490dd8808a8baa093ac3b2bfc2f66f798599bb2c
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