diff options
author | Inderpal Singh <inderpal.singh@linaro.org> | 2011-11-22 15:19:15 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2011-11-23 15:06:22 +0530 |
commit | 933e1ed612f7c18e7af4f56e8dbd638d81f9b7fc (patch) | |
tree | 02b17e5cd3749a605a9247952c13a3d872601743 | |
parent | c38035c0022f228adcf3bb6b5e5f8ba5bdbd2640 (diff) |
ARM: EXYNOS: Fix reboot hang after suspend/resumesamsung-lt-v3.2-rc2
Clear INFORM1 register used by u-boot to check the reset reason.
If not cleared, u-boot will detect reboot as wake from sleep and
jumps to an invalid address and hangs.
Signed-off-by: Inderpal SIngh <inderpal.singh@linaro.org>
-rw-r--r-- | arch/arm/mach-exynos/pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index b58eb6a56ef..c472701a663 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -325,6 +325,9 @@ static void exynos4_pm_resume(void) exynos4_scu_enable(S5P_VA_SCU); early_wakeup: + /* Clear INFORM Register */ + __raw_writel(0, S5P_INFORM1); + return; } |