diff options
Diffstat (limited to 'arch/arm/mach-omap2/cpuidle34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/cpuidle34xx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index e20332f4abdc..3a9d2b883b34 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <plat/irqs.h> | 30 | #include <plat/irqs.h> |
31 | #include "powerdomain.h" | 31 | #include "powerdomain.h" |
32 | #include "clockdomain.h" | 32 | #include "clockdomain.h" |
33 | #include <plat/serial.h> | ||
34 | 33 | ||
35 | #include "pm.h" | 34 | #include "pm.h" |
36 | #include "control.h" | 35 | #include "control.h" |
@@ -245,11 +244,6 @@ static int omap3_enter_idle_bm(struct cpuidle_device *dev, | |||
245 | struct omap3_idle_statedata *cx; | 244 | struct omap3_idle_statedata *cx; |
246 | int ret; | 245 | int ret; |
247 | 246 | ||
248 | if (!omap3_can_sleep()) { | ||
249 | new_state_idx = drv->safe_state_index; | ||
250 | goto select_state; | ||
251 | } | ||
252 | |||
253 | /* | 247 | /* |
254 | * Prevent idle completely if CAM is active. | 248 | * Prevent idle completely if CAM is active. |
255 | * CAM does not have wakeup capability in OMAP3. | 249 | * CAM does not have wakeup capability in OMAP3. |