summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-08 01:03:05 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-08 01:03:05 +0000
commitbe24beefa7ac6b8a9ba5eaf04a59889b4ee9796c (patch)
tree41a8e984f9b7c8d47418312dad635a1dac42d1a3 /firmware/target/arm/as3525
parentb72237a4038d9f9b4dd2fb53bdae9caa89d0289f (diff)
usb-drv-as3525v2: use dump_dcache_range()
Since we'll receive data from DMA in this buffer we don't need to write-back git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28032 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index 69aadf481c..7537e874d3 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -767,7 +767,7 @@ static int usb_drv_transfer(int ep, void *ptr, int len, bool dir_in, bool blocki
if(dir_in)
clean_dcache_range(ptr, len);
else
- invalidate_dcache_range(ptr, len);
+ dump_dcache_range(ptr, len);
}
logf("pkt=%d dma=%lx", nb_packets, DEPDMA);