mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 08:42:47 +00:00
mmc: dt: Support "broken-cd" property in sdhci-pltfm
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
5feb54a1ab
commit
38ca724805
@ -75,6 +75,9 @@ void sdhci_get_of_property(struct platform_device *pdev)
|
||||
if (sdhci_of_wp_inverted(np))
|
||||
host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT;
|
||||
|
||||
if (of_get_property(np, "broken-cd", NULL))
|
||||
host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
|
||||
|
||||
if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc"))
|
||||
host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user