aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-08-31 14:40:09 +0800
committerEric Miao <eric.miao@linaro.org>2011-11-15 14:09:24 +0800
commit35db0e939403e36090add06f00b12f348766dcde (patch)
tree8eb157f5ffa149a95f2d0aae282a7c7f21192a7d /arch
parent8f52fc98302b38b441ecf0ec86bfefdd1c5ddf86 (diff)
mx5: work around for suspend/resume
clear MXC_CORTEXA8_PLAT_LPC. If I don't clear it, resume can succeed, but I can not get back to console. Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/pm-imx5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/pm-imx5.c b/arch/arm/mach-mx5/pm-imx5.c
index 4f9592b8070..050ce235300 100644
--- a/arch/arm/mach-mx5/pm-imx5.c
+++ b/arch/arm/mach-mx5/pm-imx5.c
@@ -44,6 +44,7 @@ static int mx5_suspend_enter(suspend_state_t state)
__raw_writel(0, MXC_SRPG_EMPGC1_SRPGCR);
}
cpu_do_idle();
+ __raw_writel(0, MXC_CORTEXA8_PLAT_LPC);
clk_disable(gpc_dvfs_clk);
return 0;