From c9b28976c44b12cc02e8eebd9bbd83db07465464 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 2 Nov 2005 16:20:06 -0800 Subject: [PATCH] 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. --- drivers/mmc/omap.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; -- 2.41.1