]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8828f406263cfaa43c3c198ba95835a60b38157
treed65008c7c06ba32fd763eb1981a2d0d846d68216
parent160c56aba38115dd5e6f0389562c395984f118c9
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