diff options
author | Inderpal Singh <inderpal.singh@linaro.org> | 2011-11-22 15:19:15 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-07-20 14:29:40 +0530 |
commit | e5d3455005d7219c0e4b52057bc74992e300f0ac (patch) | |
tree | 8de9cb8f3f50aeff613b3de25ad9db72a327de43 | |
parent | 22d53cfb090f67de4d6da4570396105c6d41a682 (diff) |
ARM: EXYNOS: Fix reboot hang after suspend/resumetracking-samslt-s2ram-ll-20120727.0tracking-samslt-s2ram-ll-20120723.0
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 c06c992943a1..239045f198e5 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -312,6 +312,9 @@ static void exynos_pm_resume(void) } early_wakeup: + /* Clear INFORM Register */ + __raw_writel(0, S5P_INFORM1); + return; } |