aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/prm2xxx_3xxx.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.c b/arch/arm/mach-omap2/prm2xxx_3xxx.c
index e10fd1e9446b..a0309dea6794 100644
--- a/arch/arm/mach-omap2/prm2xxx_3xxx.c
+++ b/arch/arm/mach-omap2/prm2xxx_3xxx.c
@@ -351,11 +351,16 @@ static void __init omap3xxx_prm_enable_io_wakeup(void)
351 351
352static int __init omap3xxx_prcm_init(void) 352static int __init omap3xxx_prcm_init(void)
353{ 353{
354 int ret = 0;
355
354 if (cpu_is_omap34xx()) { 356 if (cpu_is_omap34xx()) {
355 omap3xxx_prm_enable_io_wakeup(); 357 omap3xxx_prm_enable_io_wakeup();
356 return omap_prcm_register_chain_handler(&omap3_prcm_irq_setup); 358 ret = omap_prcm_register_chain_handler(&omap3_prcm_irq_setup);
359 if (!ret)
360 irq_set_status_flags(omap_prcm_event_to_irq("io"),
361 IRQ_NOAUTOEN);
357 } 362 }
358 363
359 return 0; 364 return ret;
360} 365}
361subsys_initcall(omap3xxx_prcm_init); 366subsys_initcall(omap3xxx_prcm_init);