Change-Id: I56285d306e8e3a52039a7612fae666ed40117a4a
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
true, false, true);
if (!err) {
mmc_set_timing(card->host, MMC_TIMING_MMC_HS);
+
+ mmc_set_clock(card->host, card->ext_csd.hs_max_dtr);
err = mmc_switch_status(card);
}
old_timing = host->ios.timing;
mmc_set_timing(host, MMC_TIMING_MMC_HS200);
+ mmc_set_clock(host, card->ext_csd.hs200_max_dtr);
err = mmc_switch_status(card);
/*
* mmc_select_timing() assumes timing has not changed if