From: Sarah Sharp Date: Wed, 11 Nov 2009 18:28:36 +0000 (-0800) Subject: USB: xhci: Return -EPROTO on a split transaction error. X-Git-Tag: v2.6.33-rc1~315^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec74e4035a660013379882ec243de98dd6717b61;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git USB: xhci: Return -EPROTO on a split transaction error. When the xHCI hardware says a transfer completed with a split transaction error, set the URB status to -EPROTO. Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index d7e10ea..98437ff 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -1139,6 +1139,7 @@ static int handle_tx_event(struct xhci_hcd *xhci, xhci_warn(xhci, "WARN: TRB error on endpoint\n"); status = -EILSEQ; break; + case COMP_SPLIT_ERR: case COMP_TX_ERR: xhci_warn(xhci, "WARN: transfer error on endpoint\n"); status = -EPROTO;