diff options
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index f82cf878d6af..48094b58c88f 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -811,6 +811,12 @@ int __init omap_mux_late_init(void) | |||
811 | } | 811 | } |
812 | } | 812 | } |
813 | 813 | ||
814 | omap_mux_dbg_init(); | ||
815 | |||
816 | /* see pinctrl-single-omap for the wake-up interrupt handling */ | ||
817 | if (of_have_populated_dt()) | ||
818 | return 0; | ||
819 | |||
814 | ret = request_irq(omap_prcm_event_to_irq("io"), | 820 | ret = request_irq(omap_prcm_event_to_irq("io"), |
815 | omap_hwmod_mux_handle_irq, IRQF_SHARED | IRQF_NO_SUSPEND, | 821 | omap_hwmod_mux_handle_irq, IRQF_SHARED | IRQF_NO_SUSPEND, |
816 | "hwmod_io", omap_mux_late_init); | 822 | "hwmod_io", omap_mux_late_init); |
@@ -818,8 +824,6 @@ int __init omap_mux_late_init(void) | |||
818 | if (ret) | 824 | if (ret) |
819 | pr_warning("mux: Failed to setup hwmod io irq %d\n", ret); | 825 | pr_warning("mux: Failed to setup hwmod io irq %d\n", ret); |
820 | 826 | ||
821 | omap_mux_dbg_init(); | ||
822 | |||
823 | return 0; | 827 | return 0; |
824 | } | 828 | } |
825 | 829 | ||