diff options
| -rw-r--r-- | drivers/mmc/host/mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index b6fd6dcb41e..175a623a6a2 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
| @@ -319,7 +319,7 @@ mmci_data_irq(struct mmci_host *host, struct mmc_data *data, | |||
| 319 | if (status & MCI_DATABLOCKEND) | 319 | if (status & MCI_DATABLOCKEND) |
| 320 | dev_err(mmc_dev(host->mmc), "stray MCI_DATABLOCKEND interrupt\n"); | 320 | dev_err(mmc_dev(host->mmc), "stray MCI_DATABLOCKEND interrupt\n"); |
| 321 | 321 | ||
| 322 | if (status & MCI_DATAEND) { | 322 | if (status & MCI_DATAEND || data->error) { |
| 323 | mmci_stop_data(host); | 323 | mmci_stop_data(host); |
| 324 | 324 | ||
| 325 | if (!data->error) | 325 | if (!data->error) |
