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)
commit0a8fd09ca9d4564a1f906b530ea08415a61cff58
tree63c938b268beb01c2d866aac322a60d142f931af
parent4d22378221bd0ed69c2e99408d31c108d72aeb80
mmc: sdhci: Avoid needless loop while handling SDIO interrupts in sdhci_irq

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>
drivers/mmc/host/sdhci.c
This page took 0.024507 seconds and 5 git commands to generate.