xhci: set timer to retry xfers
PATCH 1/1 xhci: set timer to retry xfers
Signed-off-by Gerd Hoffmann <[email protected]>
--- hw/usb/hcd-xhci.c | 2 ++ 1 file changed, 2 insertions(+)
hw/usb/hcd-xhci.c +2 -0
@@ -2224,6 +2224,8 @@ static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid,if (xfer->running_retry) {DPRINTF ("xhci: xfer nacked, stopping schedule\n" ); epctx->retry = xfer; +timer_mod (epctx->kick_timer,qemu_clock_get_ns (QEMU_CLOCK_VIRTUAL ) + + epctx->interval *125000 );break ; } }
Signature · 1 line
1.8.3.1