|
@@ -361,6 +361,13 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
|
|
|
sdhci_get_of_property(pdev);
|
|
|
|
|
|
np = pdev->dev.of_node;
|
|
|
+ if (of_device_is_compatible(np, "fsl,p5040-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,p5020-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,p4080-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,p1020-esdhc") ||
|
|
|
+ of_device_is_compatible(np, "fsl,t1040-esdhc"))
|
|
|
+ host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
|
|
|
+
|
|
|
if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
|
|
|
/*
|
|
|
* Freescale messed up with P2020 as it has a non-standard
|