Skip to content

Commit

Permalink
mmc: dt: Support "broken-cd" property in sdhci-pltfm
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Chris Ball committed Oct 7, 2012
1 parent 5feb54a commit 38ca724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mmc/host/sdhci-pltfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 38ca724

Please sign in to comment.