History

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 a2cfc509 (ARM: OMAP3+: hwmod: Add AM33XX HWMOD data) that probably had some search and replace updates done for the patch for sparse irq support.

Pantelis Antoniou committed 13 years ago

Commit 6adba671 parent 07fd2961 file · +1 −1Browse files

Unified · Split

arch/arm/mach-omap2/omap_hwmod_33xx_data.c+1−1
@@ -2070,7 +2070,7 @@ static struct omap_hwmod_irq_info am33xx_usbss_mpu_irqs[] = { · 2069 unmodified lines
2070 { .name = "usbss-irq", .irq = 17 + OMAP_INTC_START, },2070 { .name = "usbss-irq", .irq = 17 + OMAP_INTC_START, },
2071 { .name = "musb0-irq", .irq = 18 + OMAP_INTC_START, },2071 { .name = "musb0-irq", .irq = 18 + OMAP_INTC_START, },
2072 { .name = "musb1-irq", .irq = 19 + OMAP_INTC_START, },2072 { .name = "musb1-irq", .irq = 19 + OMAP_INTC_START, },
2073 { .irq = -1 + OMAP_INTC_START, },2073 { .irq = -1, },
2074};2074};
2075 2075
2076static struct omap_hwmod am33xx_usbss_hwmod = {2076static struct omap_hwmod am33xx_usbss_hwmod = {