diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-02-27 12:22:36 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-02-29 07:03:08 -0500 |
commit | 7eca30aef7961e68ad74c0ef920546c2be7f6579 (patch) | |
tree | d7161459a86134bee58b8a0980a15b66839467aa /arch/arm/mach-omap2/pm24xx.c | |
parent | d65b4e98d7ea3038b767b70fe8be959b2913f16d (diff) | |
parent | d5e5a7f987458f42f24a557a0f4e35f94c43fc09 (diff) |
Merge branch 'at91-3.4-base2+cleanup' of git://github.com/at91linux/linux-at91 into at91/staging/base2+cleanup
* 'at91-3.4-base2+cleanup' of git://github.com/at91linux/linux-at91: (20 commits)
ARM: at91: properly sort dtb files in Makefile.boot
ARM: at91: add at91sam9g25ek.dts in Makefile.boot
ARM: at91/board-dt: drop default console
Atmel: move console default platform_device to serial driver
ARM: at91: merge SRAM Memory banks thanks to mirroring
ARM: at91: finally drop at91_sys_read/write
ARM: at91/rtc-at91sam9: pass the GPBR to use via resources
ARM: at91:rtc/rtc-at91sam9: ioremap register bank
ARM: at91/rtc-at91sam9: each SoC can select the RTT device to use
ARM: at91/PMC: make register base soc independent
ARM: at91/PMC: move assignment out of printf
ARM: at91/pm_slowclock: add runtime detection of memory contoller
ARM: at91: make sdram/ddr register base soc independent
ARM: at91: move at91rm9200 sdramc defines to at91rm9200_sdramc.h
ARM: at91/pm_slowclock: function slow_clock() accepts parameters
ARM: at91/pm_slowclock: rename register to named define
ARM: at91/ST: remove not needed casts
ARM: at91: make ST (System Timer) soc independent
ARM: at91: make matrix register base soc independent
ARM: at91/at91x40: remove use of at91_sys_read/write
Based on top of the at91/9x5, rmk/for-armsoc, at91/device-board,
at91/pm_cleanup and at91/base.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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 | } |