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

Commit 938ace4b authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Matt Wagantall
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>
parent cc75a9f6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1331,8 +1331,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);

	if (host->ops->execute_tuning) {
		mmc_host_clk_hold(host);