]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-omap2/pm.c
Merge tag 'v3.11-rc2' into patchwork
[~andy/linux] / arch / arm / mach-omap2 / pm.c
index 8d15f9ae19ffa03b01f6786ae6332e351fd53da1..e742118fcfd2b69adc367057e6f17670a5136903 100644 (file)
@@ -218,7 +218,7 @@ static int omap_pm_enter(suspend_state_t suspend_state)
 
 static int omap_pm_begin(suspend_state_t state)
 {
-       disable_hlt();
+       cpu_idle_poll_ctrl(true);
        if (cpu_is_omap34xx())
                omap_prcm_irq_prepare();
        return 0;
@@ -226,8 +226,7 @@ static int omap_pm_begin(suspend_state_t state)
 
 static void omap_pm_end(void)
 {
-       enable_hlt();
-       return;
+       cpu_idle_poll_ctrl(false);
 }
 
 static void omap_pm_finish(void)