summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2010-08-06 15:41:43 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2010-08-06 21:11:58 +0530
commit98cd90d2d2cf32845fc2ba593a66bb0219ba8c3a (patch)
tree2f79c6ff131542c59087f9b007ac3636ec498754
parentb96b5febee78ef3f8c6a870733df0764dd2c94ee (diff)
omap-hsmmc : use SDMA instead of ADMA.
adma transfer mode disabled for mmc#1 and mmc#2; default sdma mode for all controller. Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com> -- drivers/mmc/host/omap_hsmmc.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
-rw-r--r--drivers/mmc/host/omap_hsmmc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index b589cefd64a0..cb33a5340900 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2288,6 +2288,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
" clk failed\n");
}
+#if 0
ctrlr_caps = OMAP_HSMMC_READ(host, CAPA);
if (ctrlr_caps & CAPA_ADMA_SUPPORT) {
/* FIXME: passing the device structure fails
@@ -2300,6 +2301,9 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
} else {
host->dma_type = SDMA_XFER;
}
+#endif
+ host->dma_type = SDMA_XFER;
+
dev_dbg(mmc_dev(host->mmc), "DMA Mode=%d\n", host->dma_type);
/* Since we do only SG emulation, we can have as many segs