mmc: sdhci-esdhc: broken card detection is not a default quirk
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / host / sdhci-of-esdhc.c
index fcd0e1fcba44635b450409318b10c30562fc8a42..08161f690ae872320c9799e48774bc5b714eea2a 100644 (file)
@@ -73,7 +73,8 @@ static unsigned int esdhc_of_get_min_clock(struct sdhci_host *host)
 }
 
 struct sdhci_of_data sdhci_esdhc = {
-       .quirks = ESDHC_DEFAULT_QUIRKS,
+       /* card detection could be handled via GPIO */
+       .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_BROKEN_CARD_DETECTION,
        .ops = {
                .read_l = sdhci_be32bs_readl,
                .read_w = esdhc_readw,