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

Commit bf3a5b9d authored by Vijay Viswanath's avatar Vijay Viswanath
Browse files

mmc: core: set enhanced strobe as true



Now that we are using mmc_select_hs400 instead of mmc_select_hs400es,
set ios.enhanced_strobe as true if enhanced strobe is working and
supported in card.

Change-Id: I1af3eaa083b737491a2bf3da4655511c7789f586
Signed-off-by: default avatarVijay Viswanath <vviswana@codeaurora.org>
parent 755735e7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1315,6 +1315,8 @@ static int mmc_select_hs400(struct mmc_card *card)
	if (card->ext_csd.strobe_support && host->ops->enhanced_strobe) {
	if (card->ext_csd.strobe_support && host->ops->enhanced_strobe) {
		mmc_host_clk_hold(host);
		mmc_host_clk_hold(host);
		err = host->ops->enhanced_strobe(host);
		err = host->ops->enhanced_strobe(host);
		if (!err)
			host->ios.enhanced_strobe = true;
		mmc_host_clk_release(host);
		mmc_host_clk_release(host);
	} else if ((host->caps2 & MMC_CAP2_HS400_POST_TUNING) &&
	} else if ((host->caps2 & MMC_CAP2_HS400_POST_TUNING) &&
			host->ops->execute_tuning) {
			host->ops->execute_tuning) {