arm: lpc2xx: PM fixes and enhancements
[linux-2.6.34-lpc32xx.git] / arch / arm / mach-lpc32xx / pm.c
index 3af3640..451fb7f 100644 (file)
@@ -112,6 +112,8 @@ static int lpc32xx_pm_enter(suspend_state_t state)
 {
        int ret = 0;
 
+       lpc32xx_irq_suspend(state);
+
        switch (state)
        {
                case PM_SUSPEND_STANDBY:
@@ -122,6 +124,8 @@ static int lpc32xx_pm_enter(suspend_state_t state)
                        break;
        }
 
+       lpc32xx_irq_resume(state);
+
        return ret;
 }