rk29: pm: add flush_tlb_all

This commit is contained in:
黄涛
2011-02-28 17:26:27 +08:00
parent 1b96f3e9a6
commit 0888f26ff0

View File

@@ -10,6 +10,7 @@
#include <linux/regulator/rk29-pwm-regulator.h>
#include <linux/io.h>
#include <linux/wakelock.h>
#include <asm/tlbflush.h>
#include <mach/rk29_iomap.h>
#include <mach/cru.h>
@@ -172,6 +173,7 @@ static int rk29_pm_enter(suspend_state_t state)
#ifdef CONFIG_RK29_PWM_REGULATOR
/* touch TLB */
flush_tlb_all();
readl(RK29_PWM_BASE);
readl(RK29_GRF_BASE);
#endif