projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04dd950
)
USB: xhci: Return -EPROTO on a split transaction error.
author
Sarah Sharp
<sarah.a.sharp@linux.intel.com>
Wed, 11 Nov 2009 18:28:36 +0000
(10:28 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Dec 2009 19:55:23 +0000
(11:55 -0800)
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>
drivers/usb/host/xhci-ring.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-ring.c
b/drivers/usb/host/xhci-ring.c
index d7e10ea8f0803f824f54bd350e11668e4d385a98..98437ffb065e64ecf1d7a37e7d991c00ec6d9dd0 100644
(file)
--- 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;