summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 46182a5293d..939e92c11db 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -54,6 +54,8 @@
#include "pm-debug-regs.h"
#include "iomap.h"
+#include "pad_wkup.h"
+
/* pm34xx errata defined in pm.h */
u16 pm34xx_errata;
bool suspend_debug;
@@ -375,6 +377,7 @@ void omap_sram_idle(bool in_suspend)
/* PER */
if (per_next_state < PWRDM_POWER_ON)
omap2_gpio_resume_after_idle(in_suspend);
+
}
static void omap3_pm_idle(void)
@@ -412,6 +415,8 @@ static int omap3_pm_suspend(void)
omap_sram_idle(true);
+ prcm_handle_pad_wkup();
+
restore:
/* Restore next_pwrsts */
list_for_each_entry(pwrst, &pwrst_list, node) {