aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2008-07-04 18:25:15 -0400
committerPierre Ossman <drzeus@drzeus.cx>2008-07-15 08:14:39 -0400
commitee53ab5d73998e502801c024a08de2c39a92c52a (patch)
treebbee55e0cfffa4837918b7ada2f031f7dab3fcbb /drivers/mmc/host/sdhci.h
parent22606405894a3ca5796eb4454a4b83af611fd201 (diff)
sdhci: make workaround for timeout bug more general
Give the quirk for broken timeout handling a better chance of handling more controllers by simply classifying the system as broken and setting a fixed value. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 22fc258b12aa..7ce12f3e7452 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -178,8 +178,8 @@ struct sdhci_host {
178#define SDHCI_QUIRK_RESET_AFTER_REQUEST (1<<8) 178#define SDHCI_QUIRK_RESET_AFTER_REQUEST (1<<8)
179/* Controller needs voltage and power writes to happen separately */ 179/* Controller needs voltage and power writes to happen separately */
180#define SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER (1<<9) 180#define SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER (1<<9)
181/* Controller has an off-by-one issue with timeout value */ 181/* Controller provides an incorrect timeout value for transfers */
182#define SDHCI_QUIRK_INCR_TIMEOUT_CONTROL (1<<10) 182#define SDHCI_QUIRK_BROKEN_TIMEOUT_VAL (1<<10)
183 183
184 int irq; /* Device IRQ */ 184 int irq; /* Device IRQ */
185 void __iomem * ioaddr; /* Mapped address */ 185 void __iomem * ioaddr; /* Mapped address */