forked from len0rd/rockbox
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
This commit is contained in:
parent
b72237a403
commit
be24beefa7
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ static int usb_drv_transfer(int ep, void *ptr, int len, bool dir_in, bool blocki
|
||||||
if(dir_in)
|
if(dir_in)
|
||||||
clean_dcache_range(ptr, len);
|
clean_dcache_range(ptr, len);
|
||||||
else
|
else
|
||||||
invalidate_dcache_range(ptr, len);
|
dump_dcache_range(ptr, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
logf("pkt=%d dma=%lx", nb_packets, DEPDMA);
|
logf("pkt=%d dma=%lx", nb_packets, DEPDMA);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue