diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 614d77694f176612a43d10cd20cff6958c816859..6c8cc1a1b8589abd2ea58a9be3d56e499eb12f15 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1027,6 +1027,8 @@ static void sdhci_finish_data(struct sdhci_host *host) sdhci_do_reset(host, SDHCI_RESET_DATA); } + /* Avoid triggering warning in sdhci_send_command() */ + host->cmd = NULL; sdhci_send_command(host, data->stop); } else { sdhci_finish_mrq(host, data->mrq);