jz4740: Fix incorrect dcache flush in the USB RX DMA code.

Change-Id: I01eff581b16569bda97c55afc7adac897b29e0e3
This commit is contained in:
Solomon Peachy 2021-03-03 21:37:55 -05:00
parent 8cb4c18310
commit b82298ae2c

View file

@ -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;