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

Commit a22950c8 authored by yangbo lu's avatar yangbo lu Committed by Ulf Hansson
Browse files

mmc: sdhci-of-esdhc: add quirk SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for ls1021a

parent 2ca63524
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -602,6 +602,9 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
	    of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
		host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;

	if (of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
		host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;

	if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
		/*
		 * Freescale messed up with P2020 as it has a non-standard