linux/arch/arm/plat-orion
Simon Guinot 659fb32d1b genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd)
This fixes a regression introduced by e59347a "arm: orion:
Use generic irq chip".

Depending on the device, interrupts acknowledgement is done by setting
or by clearing a dedicated register. Replace irq_gc_ack() with some
{set,clr}_bit variants allows to handle both cases.

Note that this patch affects the following SoCs: Davinci, Samsung and
Orion. Except for this last, the change is minor: irq_gc_ack() is just
renamed into irq_gc_ack_set_bit().

For the Orion SoCs, the edge GPIO interrupts support is currently
broken. irq_gc_ack() try to acknowledge a such interrupt by setting
the corresponding cause register bit. The Orion GPIO device expect the
opposite. To fix this issue, the irq_gc_ack_clr_bit() variant is used.

Tested on Network Space v2.

Reported-by: Joey Oravec <joravec@drewtech.com>
Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2011-07-07 16:02:26 +00:00
..
include/plat ARM: orion: Refactor the MPP code common in the orion platform 2011-05-16 15:25:54 -04:00
common.c ARM: orion: Consolidate setup of the crypto engine. 2011-05-16 15:16:17 -04:00
gpio.c genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd) 2011-07-07 16:02:26 +00:00
irq.c arm: orion: Use generic irq chip 2011-05-16 14:34:54 -04:00
Makefile ARM: orion: Refactor the MPP code common in the orion platform 2011-05-16 15:25:54 -04:00
mpp.c ARM: dove: Consolidate mpp code with platform mpp. 2011-05-16 15:49:31 -04:00
pcie.c
time.c clocksource: convert ARM 32-bit down counting clocksources 2011-05-23 18:04:51 +01:00