aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 98fe02347d59..b070ee542c8e 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -941,8 +941,8 @@ static void dw_mci_command_complete(struct dw_mci *host, struct mmc_command *cmd
941 mdelay(20); 941 mdelay(20);
942 942
943 if (cmd->data) { 943 if (cmd->data) {
944 host->data = NULL;
945 dw_mci_stop_dma(host); 944 dw_mci_stop_dma(host);
945 host->data = NULL;
946 } 946 }
947 } 947 }
948} 948}