]> git.baikalelectronics.ru Git - kernel.git/commit
gpio/langwell: Clear edge bit before handling
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Mar 2011 19:32:58 +0000 (19:32 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 18 Mar 2011 05:07:44 +0000 (23:07 -0600)
commitee3ae00e233834dc55b74c8d001c6127e40c285f
treed2570d9265aaea5f2b4df6b7bba44f390687f031
parent4c875801385f60040a57ba6e20a12b4bcb233406
gpio/langwell: Clear edge bit before handling

I don't have the specs for this beast, but it looks a lot like the PXA
GPIO block. Though I bet it's the same IP and the driver should have
reused the PXA code.

Acknowleding the edge detect status after handling one or more gpio
interrupts looks wrong. We might lose an edge which came in while we
handled the previous one.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Alek Du <alek.du@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/langwell_gpio.c