mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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 <ben-linux@fluff.org>
This commit is contained in:
parent
090f848da0
commit
dc8fc7edef
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue