ARM: imx: add always-on clock array for i.mx6sl to maintain correct usecount
authorAnson Huang <b20788@freescale.com>
Wed, 22 Jan 2014 07:14:47 +0000 (15:14 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 5 Mar 2014 02:35:14 +0000 (10:35 +0800)
commit17626b7cfc56afe1cd3f279ae0e243ddbfcf2cfc
tree5d634caf22bde25b70b046074c32632c9b7f4f4a
parent64b08681398a74a7e802080f22ccdbf150c28167
ARM: imx: add always-on clock array for i.mx6sl to maintain correct usecount

IPG, ARM and MMDC's clock should be enabled during kernel boot up,
so we need to maintain their usecount, otherwise, they may be
disabled unexpectedly if their children's clock are turned off, and
caused their parent PLLs also get disabled, which is incorrect.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6sl.c