projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090f848
)
[ARM] S3C2412: Add missing cache flush in suspend code
author
Ben Dooks
<ben-linux@fluff.org>
Tue, 28 Apr 2009 09:06:00 +0000
(10:06 +0100)
committer
Ben Dooks
<ben-linux@fluff.org>
Fri, 1 May 2009 11:28:16 +0000
(12:28 +0100)
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>
arch/arm/mach-s3c2412/pm.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-s3c2412/pm.c
b/arch/arm/mach-s3c2412/pm.c
index c9cfe40e21f64172531d68af8617cf5119e2d1f8..a7417c479ffeeb5f7a1b30bf4ea631ca61c2f18f 100644
(file)
--- a/
arch/arm/mach-s3c2412/pm.c
+++ b/
arch/arm/mach-s3c2412/pm.c
@@
-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>
@@
-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);