summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-03 21:37:55 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-03-03 21:44:28 -0500
commitb82298ae2c3ba62dbb4347054fe478992df4021c (patch)
treea7ccf5fe37ead2cafbf20a2a02aae621199ed16a /firmware/target/mips/ingenic_jz47xx
parent8cb4c18310f3975adfa318154b1b9c317fcdbfab (diff)
downloadrockbox-b82298ae2c3ba62dbb4347054fe478992df4021c.tar.gz
rockbox-b82298ae2c3ba62dbb4347054fe478992df4021c.tar.bz2
rockbox-b82298ae2c3ba62dbb4347054fe478992df4021c.zip
jz4740: Fix incorrect dcache flush in the USB RX DMA code.
Change-Id: I01eff581b16569bda97c55afc7adac897b29e0e3
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/usb-jz4740.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/usb-jz4740.c b/firmware/target/mips/ingenic_jz47xx/usb-jz4740.c
index fd38b2b1a4..162aeec97a 100644
--- a/firmware/target/mips/ingenic_jz47xx/usb-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/usb-jz4740.c
@@ -365,8 +365,6 @@ static void EPDMA_handler(int number)
/* Disable DMA */
REG_USB_REG_CNTL2 = 0;
- commit_discard_dcache(); // XXX range?
-
select_endpoint(endpoint);
/* Read out last packet manually */
unsigned int lpack_size = REG_USB_REG_OUTCOUNT;