[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)
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>

No differences found