Skip to contentSkip to conversation

xhci: handle USB_RET_IOERROR

PATCH New Gerd Hoffmann 1 participant 1 message Jul 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xhci: handle USB_RET_IOERROR

https://bugzilla.redhat.com/show_bug.cgi?id=980377

---
 hw/usb/hcd-xhci.c |    1 +
 1 file changed, 1 insertion(+)
hw/usb/hcd-xhci.c +1 -0
index 45a3a07..4450be0 100644
@@ -1739,6 +1739,7 @@ static int xhci_complete_packet(XHCITransfer *xfer)
     trace_usb_xhci_xfer_error(xfer, xfer->packet.status);
     switch (xfer->packet.status) {
     case USB_RET_NODEV:
+    case USB_RET_IOERROR:
         xfer->status = CC_USB_TRANSACTION_ERROR;
         xhci_xfer_report(xfer);
         xhci_stall_ep(xfer);
Signature · 1 line
1.7.9.7