diff options
author | Philip Rakity <prakity@marvell.com> | 2011-04-22 16:19:25 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 23:54:00 -0400 |
commit | 73627f7ce11d135dcaf16730ecfad55c3fb12d30 (patch) | |
tree | f3725ad9b9c1f30e94ed76f75f808998898cad17 /drivers/mmc | |
parent | 06b2233a20bf25c8ee57b7c6e13f528309ac6edc (diff) |
mmc: sdhci-pxa: Add quirks for DMA/ADMA to match h/w
32 Bit DMA/ADMA Access
32 Bit Size
Support ADMA End Descriptor in current chain
(no need for dummy entry)
Signed-off-by: Philip Rakity <prakity@marvell.com>
Tested-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-pxa.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index 1dc9debf6a7f..089c9a68b7b1 100644 --- a/drivers/mmc/host/sdhci-pxa.c +++ b/drivers/mmc/host/sdhci-pxa.c | |||
@@ -174,7 +174,12 @@ static int __devinit sdhci_pxa_probe(struct platform_device *pdev) | |||
174 | host->hw_name = "MMC"; | 174 | host->hw_name = "MMC"; |
175 | host->ops = &sdhci_pxa_ops; | 175 | host->ops = &sdhci_pxa_ops; |
176 | host->irq = irq; | 176 | host->irq = irq; |
177 | host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; | 177 | host->quirks = SDHCI_QUIRK_BROKEN_ADMA |
178 | | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL | ||
179 | | SDHCI_QUIRK_32BIT_DMA_ADDR | ||
180 | | SDHCI_QUIRK_32BIT_DMA_SIZE | ||
181 | | SDHCI_QUIRK_32BIT_ADMA_SIZE | ||
182 | | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; | ||
178 | 183 | ||
179 | if (pdata->quirks) | 184 | if (pdata->quirks) |
180 | host->quirks |= pdata->quirks; | 185 | host->quirks |= pdata->quirks; |