projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b96f3e
)
rk29: pm: add flush_tlb_all
author
黄涛
<huangtao@rock-chips.com>
Mon, 28 Feb 2011 09:26:27 +0000
(17:26 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 28 Feb 2011 09:26:49 +0000
(17:26 +0800)
arch/arm/mach-rk29/pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/pm.c
b/arch/arm/mach-rk29/pm.c
index 0702e7ddf65c7be09d9f46aced6f3fcf72d36189..de461ecfedc91a26e80e945be0c110bf002e9f2e 100644
(file)
--- a/
arch/arm/mach-rk29/pm.c
+++ b/
arch/arm/mach-rk29/pm.c
@@
-10,6
+10,7
@@
#include <linux/regulator/rk29-pwm-regulator.h>
#include <linux/io.h>
#include <linux/wakelock.h>
#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>
#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 */
#ifdef CONFIG_RK29_PWM_REGULATOR
/* touch TLB */
+ flush_tlb_all();
readl(RK29_PWM_BASE);
readl(RK29_GRF_BASE);
#endif
readl(RK29_PWM_BASE);
readl(RK29_GRF_BASE);
#endif