From: Tony Lindgren Date: Thu, 3 Nov 2005 00:20:06 +0000 (-0800) Subject: ARM: OMAP: Enable DMA for 24xx MMC X-Git-Tag: v2.6.15-omap2~114 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c9b28976c44b12cc02e8eebd9bbd83db07465464;p=linux-2.6-omap-h63xx.git ARM: OMAP: Enable DMA for 24xx MMC Errors with largers and reads turned out not be cache issues, but a bug in consistent_sync() instead. After fixing consistent_sync() DMA transfers on 24xx MMC work fine. --- diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index 939ccedfdeb..66840873297 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c @@ -1225,12 +1225,7 @@ static int __init mmc_omap_probe(struct device *dev) host->power_pin = minfo->power_pin; host->switch_pin = minfo->switch_pin; host->wp_pin = minfo->wp_pin; - - /* FIXME: Remove once DMA works on 24xx */ - if (cpu_is_omap24xx()) - host->use_dma = 0; - else - host->use_dma = 1; + host->use_dma = 1; host->dma_ch = -1; host->irq = pdev->resource[1].start;