diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm24xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm24xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index b8822f8b2891..1f736222a629 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c | |||
@@ -232,7 +232,6 @@ static int omap2_can_sleep(void) | |||
232 | 232 | ||
233 | static void omap2_pm_idle(void) | 233 | static void omap2_pm_idle(void) |
234 | { | 234 | { |
235 | local_irq_disable(); | ||
236 | local_fiq_disable(); | 235 | local_fiq_disable(); |
237 | 236 | ||
238 | if (!omap2_can_sleep()) { | 237 | if (!omap2_can_sleep()) { |
@@ -249,7 +248,6 @@ static void omap2_pm_idle(void) | |||
249 | 248 | ||
250 | out: | 249 | out: |
251 | local_fiq_enable(); | 250 | local_fiq_enable(); |
252 | local_irq_enable(); | ||
253 | } | 251 | } |
254 | 252 | ||
255 | #ifdef CONFIG_SUSPEND | 253 | #ifdef CONFIG_SUSPEND |
@@ -468,7 +466,7 @@ static int __init omap2_pm_init(void) | |||
468 | } | 466 | } |
469 | 467 | ||
470 | suspend_set_ops(&omap_pm_ops); | 468 | suspend_set_ops(&omap_pm_ops); |
471 | pm_idle = omap2_pm_idle; | 469 | arm_pm_idle = omap2_pm_idle; |
472 | 470 | ||
473 | return 0; | 471 | return 0; |
474 | } | 472 | } |