Skip to contentSkip to conversation

mmc: sdhci-of-esdhc: add tuning cycles delay quirk for t2080/t1040

PATCH Superseded Yangbo Lu 1 participant 1 message Sep 14, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yangbo Lu

author
#0 lore raw

PATCH 6/6 mmc: sdhci-of-esdhc: add tuning cycles delay quirk for t2080/t1040

---
 drivers/mmc/host/sdhci-of-esdhc.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/mmc/host/sdhci-of-esdhc.c +4 -0
index 57e1e8b..46efa05 100644
@@ -470,6 +470,10 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
 	    of_device_is_compatible(np, "fsl,t1040-esdhc"))
 		host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
 
+	if (of_device_is_compatible(np, "fsl,t1040-esdhc") ||
+	    of_device_is_compatible(np, "fsl,t2080-esdhc"))
+		host->quirks2 |= SDHCI_QUIRK2_DELAY_BETWEEN_TUNING_CYCLES;
+
 	if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
 		/*
 		 * Freescale messed up with P2020 as it has a non-standard
Signature · 1 line
2.1.0.27.g96db324