diff options
Diffstat (limited to 'drivers/mmc/host/sdhci-of-esdhc.c')
-rw-r--r-- | drivers/mmc/host/sdhci-of-esdhc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index 5f1e20a..0da8b48 100644 --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c @@ -260,6 +260,8 @@ static int esdhc_of_get_cd(struct sdhci_host *host) if (host->flags & SDHCI_DEVICE_DEAD) return 0; + if (host->quirks2 & SDHCI_QUIRK2_FORCE_CMD13_DETECT_CARD) + return -ENOSYS; sysctl = sdhci_be32bs_readl(host, SDHCI_CLOCK_CONTROL); |