diff options
author | Olof Johansson <olof@lixom.net> | 2011-01-02 03:37:32 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-09 07:52:23 +0300 |
commit | 30652aa36b58d57fcc1a0acce51e391bbb6edf5e (patch) | |
tree | 80743c840e0456381b4e1aea223661eb694a976e /include/linux/mmc/sdhci.h | |
parent | c288b85554097a3d1271f935c48b442280b2db9e (diff) | |
download | linux-30652aa36b58d57fcc1a0acce51e391bbb6edf5e.tar.xz |
mmc: sdhci: add quirk for max len ADMA descriptors
Some controllers misparse segment length 0 as being 0, not 65536. Add
a quirk to deal with it.
Signed-off-by: Olof Johansson <olof@lixom.net>
Reviewed-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/sdhci.h')
-rw-r--r-- | include/linux/mmc/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index 0d953f513d81..83bd9f76709a 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -83,6 +83,8 @@ struct sdhci_host { #define SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 (1<<28) /* Controller doesn't have HISPD bit field in HI-SPEED SD card */ #define SDHCI_QUIRK_NO_HISPD_BIT (1<<29) +/* Controller treats ADMA descriptors with length 0000h incorrectly */ +#define SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC (1<<30) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ |