summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2016-04-05 14:00:48 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-13 19:06:23 -0700
commit7b9f9abcdafb8a1a454208f7070f205873b3e541 (patch)
treeb68d36c0d5b373b19331e43982d4384fab287839
parent021c0723abd52b19ab11efc780d7769f2381f7b4 (diff)
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: Sahitya Tummala <stummala@codeaurora.org>
-rw-r--r--drivers/mmc/host/sdhci-msm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 45414d7905d7..c6fcf871b636 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -4157,6 +4157,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;