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:
688768b
)
Revert "rk29: disable power domain switch, which may halt cpu"
author
陈恒明
<chm@rockchip.com>
Mon, 21 Mar 2011 10:18:00 +0000
(18:18 +0800)
committer
陈恒明
<chm@rockchip.com>
Mon, 21 Mar 2011 10:18:00 +0000
(18:18 +0800)
This reverts commit
f79c62a3b8889225126cb1d190ef0f325a086a17
.
arch/arm/mach-rk29/include/mach/pmu.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/include/mach/pmu.h
b/arch/arm/mach-rk29/include/mach/pmu.h
index 5733b12beb1ed62c49bc55fedfacad4d55558501..da22426fa587395867590876b41a7e0c2b0cdb4f 100644
(file)
--- a/
arch/arm/mach-rk29/include/mach/pmu.h
+++ b/
arch/arm/mach-rk29/include/mach/pmu.h
@@
-47,7
+47,6
@@
static inline bool pmu_power_domain_is_on(enum pmu_power_domain pd)
static inline void pmu_set_power_domain(enum pmu_power_domain pd, bool on)
{
-#if 0
unsigned long flags;
local_irq_save(flags);
@@
-59,7
+58,6
@@
static inline void pmu_set_power_domain(enum pmu_power_domain pd, bool on)
while (pmu_power_domain_is_on(pd) != on)
;
-#endif
}
#endif