diff mbox

[13/11] OMAP2+: GPIO: ensure bank wakeups are enabled by default

Message ID 1291923226-10112-1-git-send-email-khilman@deeprootsystems.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Kevin Hilman Dec. 9, 2010, 7:33 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c
index 413de18..05a123f 100644
--- a/arch/arm/mach-omap2/gpio.c
+++ b/arch/arm/mach-omap2/gpio.c
@@ -75,6 +75,7 @@  static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused)
 		return -EINVAL;
 	}
 
+	omap_hwmod_enable_wakeup(oh);
 	od = omap_device_build(name, id - 1, oh, pdata,
 				sizeof(*pdata),	omap_gpio_latency,
 				ARRAY_SIZE(omap_gpio_latency),