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

Commit 84f30745 authored by Sridhar Arra's avatar Sridhar Arra Committed by Gerrit - the friendly Code Review server
Browse files

mmc: sdhci-msm: Revert clear tuning done flag while hs400 tuning



Reverts the upstream commit "9253d71011c349d5f5cc0cebdf68b4a80811b92d".

Change-Id: I1c23f9130571aadbc711cf55726233b3cd73c654
Signed-off-by: default avatarSridhar Arra <sarra@codeaurora.org>
parent 0bfc6c85
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1431,12 +1431,6 @@ int sdhci_msm_execute_tuning(struct sdhci_host *host, u32 opcode)
		(ios.timing == MMC_TIMING_UHS_SDR104)))
		return 0;

	/*
	 * Clear tuning_done flag before tuning to ensure proper
	 * HS400 settings.
	 */
	msm_host->tuning_done = 0;

	/*
	 * Don't allow re-tuning for CRC errors observed for any commands
	 * that are sent during tuning sequence itself.