summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorHaijun Zhang <haijun.zhang@freescale.com>2013-04-11 03:53:42 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-18 05:59:27 (GMT)
commit2aaf5d8dc236895bb5626661c4c810c7d9400a82 (patch)
tree46b8137773bdaa431d155c49e1d1e4fc43579113 /drivers/mmc
parenta5c0fbb2586f3a0f9f5df74f34857ebbde17930d (diff)
downloadlinux-fsl-qoriq-2aaf5d8dc236895bb5626661c4c810c7d9400a82.tar.xz
eSDHC: remove duplicate code of sdhci-pltfm.c
Remove property of "broken-cd" from sdhci_get_of_property, In current dts, there is no such property. eSDHC had default quirk of SDHCI_QUIRK_BROKEN_CARD_DETECTION Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com> CC: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> CC: Xie Xiaobo-R63061 <X.Xie@freescale.com> Change-Id: I8d5bbd12e8ee0191978da25ea9bfa6482ddcf9b3 Reviewed-on: http://git.am.freescale.net:8181/1219 Reviewed-by: Xie Xiaobo-R63061 <X.Xie@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-pltfm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index a7d8620..6ae5eef 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
+++ b/drivers/mmc/host/sdhci-pltfm.c
@@ -75,9 +75,6 @@ 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_get_property(np, "no-1-8-v", NULL))
host->quirks2 |= SDHCI_QUIRK2_NO_1_8_V;