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

Commit 34e4cf13 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Subhash Jadavani
Browse files

mmc: core: Update HS400 timing mode before performing tuning



There is no need to prepare anything additional before tuning for HS400
other than updating the HS400 timing mode, so just do that.

Change-Id: Ib7a72a4bb9b901e32413acf440c925c4cd50a73d
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
[subhashj@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent fe333f44
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1461,8 +1461,7 @@ static int mmc_hs200_tuning(struct mmc_card *card)
	 */
	if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS400 &&
	    host->ios.bus_width == MMC_BUS_WIDTH_8)
		if (host->ops->prepare_hs400_tuning)
			host->ops->prepare_hs400_tuning(host, &host->ios);
		mmc_set_timing(host, MMC_TIMING_MMC_HS400);

	return mmc_execute_tuning(card);
}