2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00

ARM: OMAP3: Remove legacy IRQ for PRM

We have this coming from device tree and legacy booting is
no longer needed.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Tony Lindgren 2017-10-10 14:27:06 -07:00
parent 0eecc636e5
commit 82e5051ba4

View File

@ -704,12 +704,18 @@ static int omap3xxx_prm_late_init(void)
omap3430_pre_es3_1_reconfigure_io_chain;
np = of_find_matching_node(NULL, omap3_prm_dt_match_table);
if (np) {
irq_num = of_irq_get(np, 0);
if (irq_num > 0)
omap3_prcm_irq_setup.irq = irq_num;
if (!np) {
pr_err("PRM: no device tree node for interrupt?\n");
return -ENODEV;
}
irq_num = of_irq_get(np, 0);
if (irq_num == -EPROBE_DEFER)
return irq_num;
omap3_prcm_irq_setup.irq = irq_num;
omap3xxx_prm_enable_io_wakeup();
return omap_prcm_register_chain_handler(&omap3_prcm_irq_setup);