Browse Source

ARM: EXYNOS: Fix soft reboot hang after suspend/resume

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

Signed-off-by: Inderpal Singh <inderpal.singh@samsung.com>
Tested-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Inderpal Singh 12 years ago
parent
commit
ebee854147
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/arm/mach-exynos/pm.c

+ 4 - 0
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;
 }