]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: orion: Fix getting generic chip pointer.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 6 Feb 2014 23:41:58 +0000 (00:41 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 21 Feb 2014 21:46:56 +0000 (21:46 +0000)
commita261d5e4321089ca9e16fdabca3121bcd3c79a98
treed5095ca2b1de20a3505320cfde37f5bc637e57c8
parentfa3cfa5aa00193af842e2e1c08d57b6fa95e42bd
irqchip: orion: Fix getting generic chip pointer.

Enabling SPARSE_IRQ shows up a bug in the irq-orion bridge interrupt
handler. The bridge interrupt is implemented using a single generic
chip. Thus the parameter passed to irq_get_domain_generic_chip()
should always be zero.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fixes: c55849ca9a0c ("irqchip: Add support for Marvell Orion SoCs")
Cc: <stable@vger.kernel.org> # v3.11+
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-orion.c