From: Philip Rakity Date: Fri, 22 Apr 2011 20:19:25 +0000 (-0700) Subject: mmc: sdhci-pxa: Add quirks for DMA/ADMA to match h/w X-Git-Tag: v3.0~520^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73627f7ce11d135dcaf16730ecfad55c3fb12d30;p=platform%2Fkernel%2Flinux-amlogic.git 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 Tested-by: Chris Ball Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index 1dc9deb..089c9a6 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) host->hw_name = "MMC"; host->ops = &sdhci_pxa_ops; host->irq = irq; - host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; + host->quirks = SDHCI_QUIRK_BROKEN_ADMA + | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL + | SDHCI_QUIRK_32BIT_DMA_ADDR + | SDHCI_QUIRK_32BIT_DMA_SIZE + | SDHCI_QUIRK_32BIT_ADMA_SIZE + | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; if (pdata->quirks) host->quirks |= pdata->quirks;