gpio/langwell: re-read the IRQ status register after each iteration
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 10 May 2012 10:01:22 +0000 (13:01 +0300)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 10 May 2012 22:35:28 +0000 (16:35 -0600)
commitc8f925b69fec7d147cb22cbeec50fbcb2ec5580b
treed65008c7c06ba32fd763eb1981a2d0d846d68216
parent465f2bd459c3143a4f93c2cf2de2c6ebb8f94947
gpio/langwell: re-read the IRQ status register after each iteration

The IRQ status register should be re-read after each iteration.
Otherwise the loop misses the interrupt if it gets raised immediately
after handled.

Reported-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-langwell.c