mmc: sdhci-pltfm: Fix timeout on t4240's sdhci controller
authorChunhe Lan <Chunhe.Lan@freescale.com>
Fri, 8 Mar 2013 08:14:10 +0000 (16:14 +0800)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:36:52 +0000 (12:36 -0400)
This patch fixes timeout problems on t4240's sdhci controller:

mmc0: Too large timeout requested for CMD25!
mmc0: Too large timeout requested for CMD25!
mmc0: Too large timeout requested for CMD25!

Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pltfm.c

index 3145a78..9db7b12 100644 (file)
@@ -94,6 +94,7 @@ void sdhci_get_of_property(struct platform_device *pdev)
 
                if (of_device_is_compatible(np, "fsl,p2020-esdhc") ||
                    of_device_is_compatible(np, "fsl,p1010-esdhc") ||
+                   of_device_is_compatible(np, "fsl,t4240-esdhc") ||
                    of_device_is_compatible(np, "fsl,mpc8536-esdhc"))
                        host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;