aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mmci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 049f8e3676ac..356833a606d5 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1535,9 +1535,10 @@ static irqreturn_t mmci_irq(int irq, void *dev_id)
1535 } 1535 }
1536 1536
1537 /* 1537 /*
1538 * Don't poll for busy completion in irq context. 1538 * Busy detection has been handled by mmci_cmd_irq() above.
1539 * Clear the status bit to prevent polling in IRQ context.
1539 */ 1540 */
1540 if (host->variant->busy_detect && host->busy_status) 1541 if (host->variant->busy_detect_flag)
1541 status &= ~host->variant->busy_detect_flag; 1542 status &= ~host->variant->busy_detect_flag;
1542 1543
1543 ret = 1; 1544 ret = 1;