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

Commit ddedef01 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

mmc: sdhci-msm: enable quirk to define non standard tuning



Some controllers need SW to compare the data received
from the card for a tuning command. Enable this quirk -
SDHCI_QUIRK2_NON_STANDARD_TUNING for sdhci msm host
controller.

Change-Id: Id6f6230520db1ad018c883cb639fe66b4b86c70c
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent e67f65c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4155,6 +4155,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
	host->quirks2 |= SDHCI_QUIRK2_IGNORE_DATATOUT_FOR_R1BCMD;
	host->quirks2 |= SDHCI_QUIRK2_BROKEN_PRESET_VALUE;
	host->quirks2 |= SDHCI_QUIRK2_USE_RESERVED_MAX_TIMEOUT;
	host->quirks2 |= SDHCI_QUIRK2_NON_STANDARD_TUNING;

	if (host->quirks2 & SDHCI_QUIRK2_ALWAYS_USE_BASE_CLOCK)
		host->quirks2 |= SDHCI_QUIRK2_DIVIDE_TOUT_BY_4;