]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: correct low-power mode setting
authorShawn Guo <shawn.guo@linaro.org>
Mon, 14 Jan 2013 13:11:10 +0000 (21:11 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 14 Jan 2013 14:19:48 +0000 (22:19 +0800)
commit62ead423746e3e5da5f8b84521f78317357f0b16
tree2ae259f65a6daabc0904e82be7a89f5f17eb9209
parent68985708b54ede6ba388d0d1c0b5f82b390ef61a
ARM: imx: correct low-power mode setting

The hardware reset value of bit CCM_CLPCR_LPM enables WAIT mode
(WAIT_UNCLOCKED) by default.  However this is undesirable because
WAIT mode should only be enabled when there is a driver managing
ARM clock gating.  Correct the initial power mode to WAIT_CLOCKED
(disable WAIT mode).  While at it, the power mode after resuming
is also set back to WAIT_CLOCKED from STOP_POWER_OFF.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c
arch/arm/mach-imx/pm-imx6q.c