summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s3c2440/dma-s3c2440.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/dma-s3c2440.c b/firmware/target/arm/s3c2440/dma-s3c2440.c
index d514f3650e..3cf1d05f1b 100644
--- a/firmware/target/arm/s3c2440/dma-s3c2440.c
+++ b/firmware/target/arm/s3c2440/dma-s3c2440.c
@@ -148,7 +148,7 @@ void dma_enable_channel(int channel, struct dma_request *request)
dma_state [channel].callback = request->callback;
/* Activate the channel */
- invalidate_dcache_range((void *)request->dest_addr, request->count * 4);
+ commit_discard_dcache_range((void *)request->dest_addr, request->count * 4);
dma_state [channel].status |= STATUS_CHANNEL_ACTIVE;
regs->dmasktrig = DMASKTRIG_ON;