]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Enable DMA for 24xx MMC
authorTony Lindgren <tony@atomide.com>
Thu, 3 Nov 2005 00:20:06 +0000 (16:20 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Nov 2005 00:20:06 +0000 (16:20 -0800)
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

index 939ccedfdeb34bcde759e7fbccd650c4d9843250..66840873297dd0dbe991532e442cbf89e323db6b 100644 (file)
@@ -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;