summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2012-03-28 15:58:48 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:24:40 +0800
commit6aaf2a69e13ae84980a90cebce70a86c2a09f404 (patch)
tree4242ee2b8ef7f580780f2d2c99d1e5deca80abf4 /include
parent6c5be2364edad6a8f0f88dd9fda3666be9f95602 (diff)
ENGR00178290-2 mmc: sdhci: introduce QUIRK_BROKEN_AUTO_CMD23 for mx6
We observed a few commands timeout when using auto cmd23. The root cause is still unkonwn. This patch is a workaround to not use auto cmd23 temporarily. Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/sdhci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index d9dca2739cb5..a477e2e2093c 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -93,6 +93,9 @@ struct sdhci_host {
/* The read-only detection via SDHCI_PRESENT_STATE register is unstable */
#define SDHCI_QUIRK_UNSTABLE_RO_DETECT (1<<31)
+ unsigned int quirks2; /* More deviations from spec. */
+#define SDHCI_QUIRK_BROKEN_AUTO_CMD23 (1<<0)
+
int irq; /* Device IRQ */
void __iomem *ioaddr; /* Mapped address */