diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-21 14:34:34 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-24 03:48:45 -0400 |
commit | 372c0ac8aca7655b6a8920b10bf9563402ac19d8 (patch) | |
tree | e9b0b8ea7c7a08968072ee27e5a85db4849c68bd | |
parent | e7089da9567fa8da37e35e1f81a5e3579d0d582d (diff) |
ARM: pm: samsung: no need to call flush_cache_all()
The core suspend code calls flush_cache_all() immediately prior to
calling the suspend finisher function, so remove these needless calls
from the finisher functions.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-s3c2412/pm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2416/pm.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c2412/pm.c index fecd85489e51..9a1fb898db53 100644 --- a/arch/arm/mach-s3c2412/pm.c +++ b/arch/arm/mach-s3c2412/pm.c | |||
@@ -41,8 +41,6 @@ static void s3c2412_cpu_suspend(unsigned long arg) | |||
41 | { | 41 | { |
42 | unsigned long tmp; | 42 | unsigned long tmp; |
43 | 43 | ||
44 | flush_cache_all(); | ||
45 | |||
46 | /* set our standby method to sleep */ | 44 | /* set our standby method to sleep */ |
47 | 45 | ||
48 | tmp = __raw_readl(S3C2412_PWRCFG); | 46 | tmp = __raw_readl(S3C2412_PWRCFG); |
diff --git a/arch/arm/mach-s3c2416/pm.c b/arch/arm/mach-s3c2416/pm.c index 268fda744201..9e67a2a07a86 100644 --- a/arch/arm/mach-s3c2416/pm.c +++ b/arch/arm/mach-s3c2416/pm.c | |||
@@ -26,8 +26,6 @@ extern void s3c2412_sleep_enter(void); | |||
26 | 26 | ||
27 | static void s3c2416_cpu_suspend(unsigned long arg) | 27 | static void s3c2416_cpu_suspend(unsigned long arg) |
28 | { | 28 | { |
29 | flush_cache_all(); | ||
30 | |||
31 | /* enable wakeup sources regardless of battery state */ | 29 | /* enable wakeup sources regardless of battery state */ |
32 | __raw_writel(S3C2443_PWRCFG_SLEEP, S3C2443_PWRCFG); | 30 | __raw_writel(S3C2443_PWRCFG_SLEEP, S3C2443_PWRCFG); |
33 | 31 | ||