diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index e41badbf9b50..6e95f6f11a28 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -350,6 +350,7 @@ static int __mmc_start_data_req(struct mmc_host *host, struct mmc_request *mrq) | |||
350 | mrq->host = host; | 350 | mrq->host = host; |
351 | if (mmc_card_removed(host->card)) { | 351 | if (mmc_card_removed(host->card)) { |
352 | mrq->cmd->error = -ENOMEDIUM; | 352 | mrq->cmd->error = -ENOMEDIUM; |
353 | mmc_wait_data_done(mrq); | ||
353 | return -ENOMEDIUM; | 354 | return -ENOMEDIUM; |
354 | } | 355 | } |
355 | mmc_start_request(host, mrq); | 356 | mmc_start_request(host, mrq); |