From: 陈恒明 Date: Mon, 21 Mar 2011 10:18:00 +0000 (+0800) Subject: Revert "rk29: disable power domain switch, which may halt cpu" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=72c9c43bd829c26babdd3e5aab755489b0970a88;p=firefly-linux-kernel-4.4.55.git Revert "rk29: disable power domain switch, which may halt cpu" This reverts commit f79c62a3b8889225126cb1d190ef0f325a086a17. --- diff --git a/arch/arm/mach-rk29/include/mach/pmu.h b/arch/arm/mach-rk29/include/mach/pmu.h index 5733b12beb1e..da22426fa587 100644 --- 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