From: Ben Dooks Date: Tue, 28 Apr 2009 09:06:00 +0000 (+0100) Subject: [ARM] S3C2412: Add missing cache flush in suspend code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [ARM] S3C2412: Add missing cache flush in suspend code The alterations to the suspend code missed adding a call to the cache flushing routines during the suspend path of the S3C2412. Signed-off-by: Ben Dooks --- diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c2412/pm.c index c9cfe40e21f6..a7417c479ffe 100644 --- a/arch/arm/mach-s3c2412/pm.c +++ b/arch/arm/mach-s3c2412/pm.c @@ -21,6 +21,7 @@ #include #include +#include #include #include @@ -39,6 +40,8 @@ static void s3c2412_cpu_suspend(void) { unsigned long tmp; + flush_cache_all(); + /* set our standby method to sleep */ tmp = __raw_readl(S3C2412_PWRCFG);