aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-11-11 13:28:36 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 14:55:23 -0500
commitec74e4035a660013379882ec243de98dd6717b61 (patch)
tree762fa327d846fbbe181fbd0af0e0077774d46182 /drivers/usb/host/xhci-ring.c
parent04dd950d92f41155ed0cdf39b6bfbeea22eadb34 (diff)
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 <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r--drivers/usb/host/xhci-ring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index d7e10ea8f080..98437ffb065e 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,
1139 xhci_warn(xhci, "WARN: TRB error on endpoint\n"); 1139 xhci_warn(xhci, "WARN: TRB error on endpoint\n");
1140 status = -EILSEQ; 1140 status = -EILSEQ;
1141 break; 1141 break;
1142 case COMP_SPLIT_ERR:
1142 case COMP_TX_ERR: 1143 case COMP_TX_ERR:
1143 xhci_warn(xhci, "WARN: transfer error on endpoint\n"); 1144 xhci_warn(xhci, "WARN: transfer error on endpoint\n");
1144 status = -EPROTO; 1145 status = -EPROTO;