|
@@ -867,6 +867,8 @@ static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
|
|
host->resuming = false;
|
|
|
}
|
|
|
}
|
|
|
+ if (host->power == TMIO_MMC_OFF_STOP)
|
|
|
+ tmio_mmc_reset(host);
|
|
|
tmio_mmc_set_clock(host, ios->clock);
|
|
|
if (host->power == TMIO_MMC_OFF_STOP)
|
|
|
/* power up SD card and the bus */
|
|
@@ -1186,7 +1188,6 @@ int tmio_mmc_host_runtime_resume(struct device *dev)
|
|
|
struct mmc_host *mmc = dev_get_drvdata(dev);
|
|
|
struct tmio_mmc_host *host = mmc_priv(mmc);
|
|
|
|
|
|
- tmio_mmc_reset(host);
|
|
|
tmio_mmc_enable_dma(host, true);
|
|
|
|
|
|
return 0;
|