aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
diff options
context:
space:
mode:
authorGirish S Ghongdemath <girishsg@ti.com>2011-07-05 21:04:22 -0500
committerIliyan Malchev <malchev@google.com>2011-07-06 19:40:53 -0700
commit51cf13bee42fa9bd8ea886346a80e54eac4fdf8d (patch)
tree9f5344a7cfa425e6cbf0f2c2fe43a6e553f9ace8 /arch/arm/mach-omap2/omap_hwmod_44xx_data.c
parent0ea22550e8b2ce4204e2320f1dd642304d9d11ae (diff)
downloadkernel_samsung_tuna-51cf13bee42fa9bd8ea886346a80e54eac4fdf8d.zip
kernel_samsung_tuna-51cf13bee42fa9bd8ea886346a80e54eac4fdf8d.tar.gz
kernel_samsung_tuna-51cf13bee42fa9bd8ea886346a80e54eac4fdf8d.tar.bz2
arm: omap4: pm: set smart-idle/wakeup for gpio2
For GPIO2, hwmod is set for SWSUP idling of GPIO2 instead of smartidle. This patch allows hwmod to set SMART-IDLE-WAKEUP and ENAWAKUP for GPIO2. Signed-off-by: Girish S G <girishsg@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_44xx_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index d0b9856..eadc88e 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -2402,8 +2402,7 @@ static struct omap_hwmod_opt_clk gpio2_opt_clks[] = {
static struct omap_hwmod omap44xx_gpio2_hwmod = {
.name = "gpio2",
.class = &omap44xx_gpio_hwmod_class,
- .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET |
- HWMOD_SWSUP_SIDLE ,
+ .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET,
.mpu_irqs = omap44xx_gpio2_irqs,
.mpu_irqs_cnt = ARRAY_SIZE(omap44xx_gpio2_irqs),
.main_clk = "gpio2_ick",