ARM: OMAP: Clear level-triggered GPIO interrupts in unmask hook
authorKevin Hilman <khilman@mvista.com>
Thu, 17 Jan 2008 05:56:15 +0000 (21:56 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 14 Apr 2008 16:57:10 +0000 (09:57 -0700)
commitb144ff6f3068602e5bbcefab888b97bcedb9b4a5
tree2f9c4aee5178ac496be9a8f825584c4549cbc2ae
parentd94577d5a581fe55c46b5b82eee733b8d053db19
ARM: OMAP: Clear level-triggered GPIO interrupts in unmask hook

The clearing was moved to the unmask hook because it is known to run
after the interrupt handler has actually run.  Before this patch, if
interrupts are threaded, the clearing/unmasking of level triggered
interrupts would be done before the threaded handler actually ran.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c