aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 325cf60c65e5..f9ed5e23f145 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -481,6 +481,13 @@ mmc_omap_xfer_done(struct mmc_omap_host *host, struct mmc_data *data)
481 if (!data) { 481 if (!data) {
482 struct mmc_request *mrq = host->mrq; 482 struct mmc_request *mrq = host->mrq;
483 483
484 /* TC before CC from CMD6 - don't know why, but it happens */
485 if (host->cmd && host->cmd->opcode == 6 &&
486 host->response_busy) {
487 host->response_busy = 0;
488 return;
489 }
490
484 host->mrq = NULL; 491 host->mrq = NULL;
485 mmc_request_done(host->mmc, mrq); 492 mmc_request_done(host->mmc, mrq);
486 return; 493 return;