[ARM] 3348/1: Disable GPIO interrupts
authorAndrew Victor <andrew@sanpeople.com>
Fri, 24 Feb 2006 22:27:50 +0000 (22:27 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Feb 2006 22:27:50 +0000 (22:27 +0000)
commitabbea7187296a7fb316a55f2319438c2bf881f0a
tree28e8988de3cc8e81691bfd0170b1d03032dc7da7
parentf52ee1410d563cd409b08822492273a5bc235821
[ARM] 3348/1: Disable GPIO interrupts

Patch from Andrew Victor

disable_irq() lazily disables the interrupt, so the IRQ is only disabled
once the interrupt occurs again.  The GPIO interrupt handler therefore
must first check disable_depth to see if the IRQ needs to be disabled.

Orignal patch by Bill Gatliff.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91rm9200/gpio.c