ARM: OMAP: irqs: Fix NR_IRQS value to handle PRCM interrupts
authorCousson, Benoit <b-cousson@ti.com>
Tue, 28 Feb 2012 13:10:09 +0000 (14:10 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Feb 2012 23:49:54 +0000 (15:49 -0800)
commit5a3ff8473c9100adb06d60e52477668d1504e8cf
tree4e993e64d8cd6a36c23f711395a477307af4015e
parent655850ed7e3e90dcb5ae88ae63f75acbf5465213
ARM: OMAP: irqs: Fix NR_IRQS value to handle PRCM interrupts

The following commit: 2f31b51659c2d8315ea2888ba5b93076febe672b
Author: Tero Kristo <t-kristo@ti.com>
Date:   Fri Dec 16 14:37:00 2011 -0700

    ARM: OMAP4: PRM: use PRCM interrupt handler

introduced the PRCM interrupt handler and thus the need
for 64 more interrupts. Since SPARSE_IRQ is still not fully
functional on OMAP, the NR_IRQS needs to be updated to avoid
the failure that happen during irq_alloc_descs call inside
the PRCM driver:

[    0.208221] PRCM: failed to allocate irq descs: -12

Later the mux framework is then unable to request an IRQ from
the PRCM interrupt handler.

[    1.802795] mux: Failed to setup hwmod io irq -22

Fix that by adding 64 more interrupts for OMAP2PLUS config.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/irqs.h
This page took 0.025108 seconds and 5 git commands to generate.