summaryrefslogtreecommitdiffstats
path: root/firmware
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
parentb72237a4038d9f9b4dd2fb53bdae9caa89d0289f (diff)
downloadrockbox-be24beefa7ac6b8a9ba5eaf04a59889b4ee9796c.tar.gz
rockbox-be24beefa7ac6b8a9ba5eaf04a59889b4ee9796c.tar.bz2
rockbox-be24beefa7ac6b8a9ba5eaf04a59889b4ee9796c.zip
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')
-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);