summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 7b7b3a319d8a..a44759931888 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1014,7 +1014,8 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
}
/* card_detect */
- if (boarddata->cd_type == ESDHC_CD_CONTROLLER)
+ if (boarddata->cd_type == ESDHC_CD_GPIO ||
+ boarddata->cd_type == ESDHC_CD_CONTROLLER)
host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
switch (boarddata->max_bus_width) {