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)
commitd86e9af6336c0ad586a5dbd70064253d40bbb5ff
treed5095ca2b1de20a3505320cfde37f5bc637e57c8
parente0318ec3bf3f1502cd11b21b1eb00aa355b40b67
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: 9dbd90f17e4f ("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