u-boot/drivers/usb/dwc3/gadget.c
.. .. @@ -2482,7 +2482,6 @@ 2482 2482 while (left > 0) { 2483 2483 union dwc3_event event; 2484 2484 2485 - invalidate_dcache_range((uintptr_t)evt->buf, evt->length);2486 2485 event.raw = *(u32 *) (evt->buf + evt->lpos); 2487 2486 2488 2487 dwc3_process_event_entry(dwc, &event); .. .. @@ -2538,6 +2537,7 @@ 2538 2537 u32 reg; 2539 2538 2540 2539 evt = dwc->ev_buffs[buf]; 2540 + dwc3_invalidate_cache((uintptr_t)evt->buf, evt->length);2541 2541 2542 2542 count = dwc3_readl(dwc->regs, DWC3_GEVNTCOUNT(buf)); 2543 2543 count &= DWC3_GEVNTCOUNT_MASK;