irqchip: omap-intc: Fix legacy DMA regression
authorFelipe Balbi <balbi@ti.com>
Tue, 6 Jan 2015 20:38:08 +0000 (14:38 -0600)
committerJason Cooper <jason@lakedaemon.net>
Wed, 7 Jan 2015 02:50:08 +0000 (02:50 +0000)
commit4b149e417463bbb6d1d9b805f729627ca2b54495
tree7bded6aac5feb4ea2bd333eab3c1187183717b7d
parent96555c474b917963da7065f88cdab376c8af0e87
irqchip: omap-intc: Fix legacy DMA regression

commit 55601c9f2467 (arm: omap: intc: switch over
to linear irq domain) introduced a regression with
SDMA legacy driver because that driver strictly depends
on INTC's IRQs starting at NR_IRQs. Aparently
irq_domain_add_linear() won't guarantee that, since we see
a 7 IRQs difference when booting with and without the
commit cited above.

Until arch/arm/plat-omap/dma.c is properly fixed, we
must maintain OMAP2/3 using irq_domain_add_legacy().

A FIXME note was added so people know to delete that
code once that legacy DMA driver is fixed up.

Fixes: 55601c9f2467 (arm: omap: intc: switch over to linear irq domain)
Cc: <stable@vger.kernel.org> # v3.18
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Link: https://lkml.kernel.org/r/1420576688-10604-1-git-send-email-balbi@ti.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-omap-intc.c