diff options
author | Abhilash Kesavan <a.kesavan@samsung.com> | 2012-11-22 00:46:40 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-27 17:42:08 -0500 |
commit | 573e5bbe653d01dc0f27e2d97754db9246b501c8 (patch) | |
tree | 28a96331493282a91a289beb435cba1f6dee3c33 /arch/arm/mach-exynos/pm.c | |
parent | a633208f2e97c7af9fa9e322fef249641f1f0c53 (diff) |
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 <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/pm.c')
-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 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) | |||
81 | outer_flush_all(); | 81 | outer_flush_all(); |
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | if (soc_is_exynos5250()) | ||
85 | flush_cache_all(); | ||
86 | |||
84 | /* issue the standby signal into the pm unit. */ | 87 | /* issue the standby signal into the pm unit. */ |
85 | cpu_do_idle(); | 88 | cpu_do_idle(); |
86 | 89 | ||