]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: sa11x0: neponset: fix interrupt setup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 16 Jan 2012 00:17:41 +0000 (00:17 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:13 +0000 (15:34 +0000)
commitf8267ca75c458e3115f48f77058a0516960cb2cb
treed30c4aee05ca2f8ae85ddc10252c45b9f61cd3b7
parentf916172de202c5dcc41098966636b76045b88174
ARM: sa11x0: neponset: fix interrupt setup

Since ARM was converted to genirq, the neponset IRQ implementation has
gradually broken as a result of various subtle changes being introduced
into genirq.

It used to be that simple IRQs did not need an IRQ chip.  This is no
longer the case, and genirq barfs in irq_set_handler().  Fix this by
introducing a dummy no-op chip, and registering it along with the flow
handler.

Neponset IRQs really don't have any masking ability - all we have is a
status register to allow us to decode the source, and a three input OR
gate inside a CPLD.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/neponset.c