mmc: sdhci: Avoid needless loop while handling SDIO interrupts in sdhci_irq
authorAlexey Neyman <stilor@att.net>
Wed, 6 Nov 2013 03:40:36 +0000 (19:40 -0800)
committerChris Ball <cjb@laptop.org>
Fri, 8 Nov 2013 19:14:09 +0000 (14:14 -0500)
Ignore Card Interrupt bit in the interrupt status if we already
know that mmc_signal_sdio_irq() is going to be called at the end of
sdhci_irq(). This avoids a needless loop in sdhci_irq() repeatedly
reading interrupt status and doing nothing.

Signed-off-by: Alexey Neyman <stilor@att.net>
Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found