aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 3bfd0facb794..8d21a07f63de 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -417,8 +417,15 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id)
417 } 417 }
418 end_cmd = 1; 418 end_cmd = 1;
419 } 419 }
420 if (host->data) 420 if (host->data) {
421 mmc_dma_cleanup(host); 421 mmc_dma_cleanup(host);
422 OMAP_HSMMC_WRITE(host->base, SYSCTL,
423 OMAP_HSMMC_READ(host->base,
424 SYSCTL) | SRD);
425 while (OMAP_HSMMC_READ(host->base,
426 SYSCTL) & SRD)
427 ;
428 }
422 } 429 }
423 if ((status & DATA_TIMEOUT) || 430 if ((status & DATA_TIMEOUT) ||
424 (status & DATA_CRC)) { 431 (status & DATA_CRC)) {