Skip to content

Commit

Permalink
[ARM] S3C2412: Add missing cache flush in suspend code
Browse files Browse the repository at this point in the history
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 <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed May 1, 2009
1 parent 090f848 commit dc8fc7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-s3c2412/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/io.h>

#include <mach/hardware.h>
#include <asm/cacheflush.h>
#include <asm/irq.h>

#include <mach/regs-power.h>
Expand All @@ -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);
Expand Down

0 comments on commit dc8fc7e

Please sign in to comment.