From: Abhilash Kesavan Date: Thu, 22 Nov 2012 05:46:40 +0000 (+0900) Subject: ARM: EXYNOS: Add flush_cache_all in suspend finisher X-Git-Tag: firefly_0821_release~3680^2~1477^2~2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=573e5bbe653d01dc0f27e2d97754db9246b501c8;p=firefly-linux-kernel-4.4.55.git ARM: EXYNOS: Add flush_cache_all in suspend finisher The core cpu_suspend code no longer calls flush_cache_all to optimize the cpu idle flow. Add a call for the same in the exynos specific suspend code. Signed-off-by: Abhilash Kesavan Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 8dedeb237924..8df6ec547f78 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -81,6 +81,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();