diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 2d93d8b23835..c01859398b54 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -346,19 +346,14 @@ void omap_sram_idle(void) | |||
346 | 346 | ||
347 | static void omap3_pm_idle(void) | 347 | static void omap3_pm_idle(void) |
348 | { | 348 | { |
349 | local_fiq_disable(); | ||
350 | |||
351 | if (omap_irq_pending()) | 349 | if (omap_irq_pending()) |
352 | goto out; | 350 | return; |
353 | 351 | ||
354 | trace_cpu_idle(1, smp_processor_id()); | 352 | trace_cpu_idle(1, smp_processor_id()); |
355 | 353 | ||
356 | omap_sram_idle(); | 354 | omap_sram_idle(); |
357 | 355 | ||
358 | trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id()); | 356 | trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id()); |
359 | |||
360 | out: | ||
361 | local_fiq_enable(); | ||
362 | } | 357 | } |
363 | 358 | ||
364 | #ifdef CONFIG_SUSPEND | 359 | #ifdef CONFIG_SUSPEND |
@@ -757,14 +752,12 @@ int __init omap3_pm_init(void) | |||
757 | pr_err("Memory allocation failed when allocating for secure sram context\n"); | 752 | pr_err("Memory allocation failed when allocating for secure sram context\n"); |
758 | 753 | ||
759 | local_irq_disable(); | 754 | local_irq_disable(); |
760 | local_fiq_disable(); | ||
761 | 755 | ||
762 | omap_dma_global_context_save(); | 756 | omap_dma_global_context_save(); |
763 | omap3_save_secure_ram_context(); | 757 | omap3_save_secure_ram_context(); |
764 | omap_dma_global_context_restore(); | 758 | omap_dma_global_context_restore(); |
765 | 759 | ||
766 | local_irq_enable(); | 760 | local_irq_enable(); |
767 | local_fiq_enable(); | ||
768 | } | 761 | } |
769 | 762 | ||
770 | omap3_save_scratchpad_contents(); | 763 | omap3_save_scratchpad_contents(); |