projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5feb54a
)
mmc: dt: Support "broken-cd" property in sdhci-pltfm
author
Chris Ball
<cjb@laptop.org>
Sat, 15 Sep 2012 04:20:00 +0000
(12:20 +0800)
committer
Chris Ball
<cjb@laptop.org>
Sun, 7 Oct 2012 21:41:42 +0000
(17:41 -0400)
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pltfm.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pltfm.c
b/drivers/mmc/host/sdhci-pltfm.c
index d9a4ef4f1ed0e8b65cc212ce44a014093f5bf8fd..65551a9709ccc86e893be96dfead3fe2919677e3 100644
(file)
--- a/
drivers/mmc/host/sdhci-pltfm.c
+++ b/
drivers/mmc/host/sdhci-pltfm.c
@@
-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;