Skip to content

Commit 6adba67

Browse files
pantonioutmlind
authored andcommitted
ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
The IRQ array must be terminated by -1 and not by -1+OMAP_INTC_START This led to having a resource list of 100s of IRQs. Looks like this was caused by commit a2cfc50 (ARM: OMAP3+: hwmod: Add AM33XX HWMOD data) that probably had some search and replace updates done for the patch for sparse irq support. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> Acked-by: Paul Walmsley <paul@pwsan.com> [tony@atomide.com: updated wit information about the breaking commit] Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 07fd296 commit 6adba67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/omap_hwmod_33xx_data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ static struct omap_hwmod_irq_info am33xx_usbss_mpu_irqs[] = {
20702070
{ .name = "usbss-irq", .irq = 17 + OMAP_INTC_START, },
20712071
{ .name = "musb0-irq", .irq = 18 + OMAP_INTC_START, },
20722072
{ .name = "musb1-irq", .irq = 19 + OMAP_INTC_START, },
2073-
{ .irq = -1 + OMAP_INTC_START, },
2073+
{ .irq = -1, },
20742074
};
20752075

20762076
static struct omap_hwmod am33xx_usbss_hwmod = {

0 commit comments

Comments
 (0)