summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-10-09 12:31:28 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2013-10-21 01:39:25 (GMT)
commit1d674a73c59211cc33cb9c2954659033d8458fa9 (patch)
tree2fd57378f325703391c46ccd9c5d1d8ec95b5b6c /lib
parent9e8147bb5ec5d1dda2141da70f96b98985a306cb (diff)
downloadlinux-1d674a73c59211cc33cb9c2954659033d8458fa9.tar.xz
ARM: imx6q: call WB and RBC configuration from imx6q_pm_enter()
The WB and RBC configuration calls are currently made from imx6q_set_lpm() for WAIT_CLOCKED and WAIT_UNCLOCKED mode with a simple state tracking. This becomes unnecessary since we can make the calls from imx6q_pm_enter() directly now for suspend. More importantly, the current call of imx6q_enable_wb() from imx6q_set_lpm() is buggy. The CLPCR register bits configured by imx6q_enable_wb() will get lost, because imx6q_set_lpm() caches the same register and write it back at the end of the function. That's why the imx6dl suspend/resume does not work currently - the wakeup from suspend triggers a reset on imx6dl. Moves the WB and RBC calls into imx6q_pm_enter() to save the state tracking and fixes above bug, so that suspend/resume can start working on imx6dl. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions