diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-03-18 15:50:22 +0530 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-03-18 15:42:18 -0600 |
commit | 984d2e9d556334a9fd94c0489c6f9b3c6c132d8e (patch) | |
tree | 163fb4591356a2a8cb4fd7237969d0a1ab2a0722 | |
parent | 30cd5528f0dfbf2d8f548a885e62243a750c7bdf (diff) |
mmc: adma: Ensure the adma descriptor table reaches main maemory.ti-2.6.33-rc2-omap4-L24.4-p4
The current MMC driver uses adam for it's data transfer. The decsriptor
table memory is non-cached but it can still reside in the buffers.
Add a necessary write memory barrier so that DMA controller sees the
correct descriptor.
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Nishant Kamat <nskamat@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 03f0ccd3ec65..c175d66914ff 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1111,6 +1111,7 @@ static int mmc_populate_adma_desc_table(struct omap_hsmmc_host *host, static void omap_hsmmc_start_adma_transfer(struct omap_hsmmc_host *host) { + wmb(); OMAP_HSMMC_WRITE(host->base, ADMA_SAL, host->phy_adma_table); } |