]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit84bead6c38b0374e6e7db06b3097f0e700b8f148
treed2570d9265aaea5f2b4df6b7bba44f390687f031
parent732063b92bb727b27e61580ce278dddefe31c6ad
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