diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-02-26 08:44:40 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-17 15:35:02 -0400 |
commit | 3bb2a9f6a7c0887a7f79b59c5b9bff349a03247e (patch) | |
tree | 4940330e04273deac499987bda96fe89c198e2e1 /drivers/mmc/host/sdhci-of-esdhc.c | |
parent | 0c6d49ce53bc18c0ac637fb137f1e01ee9082201 (diff) |
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) | |||
73 | } | 73 | } |
74 | 74 | ||
75 | struct sdhci_of_data sdhci_esdhc = { | 75 | struct sdhci_of_data sdhci_esdhc = { |
76 | .quirks = ESDHC_DEFAULT_QUIRKS, | 76 | /* card detection could be handled via GPIO */ |
77 | .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_BROKEN_CARD_DETECTION, | ||
77 | .ops = { | 78 | .ops = { |
78 | .read_l = sdhci_be32bs_readl, | 79 | .read_l = sdhci_be32bs_readl, |
79 | .read_w = esdhc_readw, | 80 | .read_w = esdhc_readw, |