]> 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)
commit686d18d8d925a30e3f0eeb971691cae93b2a4261
treed30c4aee05ca2f8ae85ddc10252c45b9f61cd3b7
parenteee051087aea51311b55c1ba8619b6a0823c64d9
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