Skip to content

Commit

Permalink
ARM: pm: samsung: no need to call flush_cache_all()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Jun 24, 2011
1 parent e7089da commit 372c0ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-s3c2412/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ static void s3c2412_cpu_suspend(unsigned long arg)
{
unsigned long tmp;

flush_cache_all();

/* set our standby method to sleep */

tmp = __raw_readl(S3C2412_PWRCFG);
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-s3c2416/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ extern void s3c2412_sleep_enter(void);

static void s3c2416_cpu_suspend(unsigned long arg)
{
flush_cache_all();

/* enable wakeup sources regardless of battery state */
__raw_writel(S3C2443_PWRCFG_SLEEP, S3C2443_PWRCFG);

Expand Down

0 comments on commit 372c0ac

Please sign in to comment.