aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/sdhci.h
diff options
context:
space:
mode:
authorScott Branden <sbranden@broadcom.com>2015-02-09 19:06:28 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-23 09:13:39 -0400
commit3bfa6f030a01870a43e2a0652437a20b59bc3412 (patch)
tree1a528b4df9a087251c8058a5ae9af4ddd3b1fb4e /include/linux/mmc/sdhci.h
parenteeed7026b4b2840dcc771c3a23783425b50bd6ef (diff)
mmc: sdhci: add quirk for ACMD23 broken
Add quirk to handle broken auto-CMD23. Some controllers do not respond after the first auto-CMD23 is issued. This allows CMD23 to still work (mandatory for the faster UHS-I mode) rather than disabling CMD23 entirely via SDHCI_QUIRK2_HOST_NO_CMD23. Signed-off by: Corneliu Doban <cdoban@broadcom.com> Signed-off-by: Scott Branden <sbranden@broadcom.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/sdhci.h')
-rw-r--r--include/linux/mmc/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index c3e3db196738..1bafb1e7716e 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -115,6 +115,8 @@ struct sdhci_host {
115#define SDHCI_QUIRK2_TUNING_WORK_AROUND (1<<12) 115#define SDHCI_QUIRK2_TUNING_WORK_AROUND (1<<12)
116/* disable the block count for single block transactions */ 116/* disable the block count for single block transactions */
117#define SDHCI_QUIRK2_SUPPORT_SINGLE (1<<13) 117#define SDHCI_QUIRK2_SUPPORT_SINGLE (1<<13)
118/* Controller broken with using ACMD23 */
119#define SDHCI_QUIRK2_ACMD23_BROKEN (1<<14)
118 120
119 int irq; /* Device IRQ */ 121 int irq; /* Device IRQ */
120 void __iomem *ioaddr; /* Mapped address */ 122 void __iomem *ioaddr; /* Mapped address */