Merge tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/linux.git] / arch / arm / mach-exynos / pm.c
index 8306c52..b9b539c 100644 (file)
@@ -85,6 +85,9 @@ static int exynos_cpu_suspend(unsigned long arg)
        outer_flush_all();
 #endif
 
+       if (soc_is_exynos5250())
+               flush_cache_all();
+
        /* issue the standby signal into the pm unit. */
        cpu_do_idle();
 
@@ -321,6 +324,10 @@ static void exynos_pm_resume(void)
        }
 
 early_wakeup:
+
+       /* Clear SLEEP mode set in INFORM1 */
+       __raw_writel(0x0, S5P_INFORM1);
+
        return;
 }