Message ID | 06CDA980-AA11-402F-BDE1-FE251BC9238D@marvell.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 6625c05..39e8da0 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -1495,7 +1495,9 @@ static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) mmc_hostname(host), __func__, host->f_init); #endif mmc_power_up(host); - sdio_reset(host); + + if (host->card) + sdio_reset(host); mmc_go_idle(host); mmc_send_if_cond(host, host->ocr_avail);