diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-02-26 16:44:40 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-17 22:35:02 +0300 |
commit | 3bb2a9f6a7c0887a7f79b59c5b9bff349a03247e (patch) | |
tree | 4940330e04273deac499987bda96fe89c198e2e1 /drivers/mmc/host/sdhci-of-esdhc.c | |
parent | 0c6d49ce53bc18c0ac637fb137f1e01ee9082201 (diff) | |
download | linux-3bb2a9f6a7c0887a7f79b59c5b9bff349a03247e.tar.xz |
mmc: sdhci-esdhc: broken card detection is not a default quirk
It can be worked around using a GPIO which will be done for i.MX later.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Tested-by: Marc Reilly <marc@cpdesign.com.au>
Tested-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-esdhc.c')
-rw-r--r-- | drivers/mmc/host/sdhci-of-esdhc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index fcd0e1fcba44..08161f690ae8 100644 --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c @@ -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, |