Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82e5051b authored by Tony Lindgren's avatar Tony Lindgren
Browse files

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: default avatarTony Lindgren <tony@atomide.com>
parent 0eecc636
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -704,11 +704,17 @@ 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) {
	if (!np) {
		pr_err("PRM: no device tree node for interrupt?\n");

		return -ENODEV;
	}

	irq_num = of_irq_get(np, 0);
		if (irq_num > 0)
	if (irq_num == -EPROBE_DEFER)
		return irq_num;

	omap3_prcm_irq_setup.irq = irq_num;
	}

	omap3xxx_prm_enable_io_wakeup();