]> rtime.felk.cvut.cz Git - linux-imx.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)
commit83ae20981ae924c37d02a42c829155fc3851260c
tree2ae259f65a6daabc0904e82be7a89f5f17eb9209
parent837576642167d701f983e4def0d3936b514a28ae
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