Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fc0a91a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Optimize entering HS400 mode"

parents 12aab302 ba820a42
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1141,12 +1141,7 @@ static int mmc_select_hs400(struct mmc_card *card, u8 *ext_csd)
	mmc_set_timing(host, MMC_TIMING_LEGACY);
	mmc_set_clock(host, MMC_HIGH_26_MAX_DTR);

	err = mmc_select_hs(card, ext_csd);
	if (err)
		goto out;
	mmc_card_clr_highspeed(card);

	/* Switch to 8-bit DDR mode */
	/* Switch to 8-bit HighSpeed DDR mode */
	err = mmc_select_hsddr(card, ext_csd);
	if (err)
		goto out;