[PATCH 3/5] ARM: EXYNOS: Fix soft reboot hang after suspend/resume

Abhilash Kesavan a.kesavan at samsung.com
Tue Nov 6 01:12:34 EST 2012


From: Inderpal Singh <inderpal.singh at samsung.com>

Upon wake-up, clear the sleep mode set in INFORM1 register.

Signed-off-by: Inderpal Singh <inderpal.singh at samsung.com>
Tested-by: Abhilash Kesavan <a.kesavan at samsung.com>
---
 arch/arm/mach-exynos/pm.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index c06c992..8dedeb2 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -312,6 +312,10 @@ static void exynos_pm_resume(void)
 	}
 
 early_wakeup:
+
+	/* Clear SLEEP mode set in INFORM1 */
+	__raw_writel(0x0, S5P_INFORM1);
+
 	return;
 }
 
-- 
1.6.6.1




More information about the linux-arm-kernel mailing list