projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47692d1
)
USB: xhci: Handle babble errors on transfers.
author
Sarah Sharp
<sarah.a.sharp@linux.intel.com>
Mon, 27 Jul 2009 19:04:32 +0000
(12:04 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 28 Jul 2009 21:31:12 +0000
(14:31 -0700)
Pass back a babble error when this error code is seen in the transfer event TRB.
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
|
blame
|
history
diff --git
a/drivers/usb/host/xhci-ring.c
b/drivers/usb/host/xhci-ring.c
index 1fc0decfa0ac89caeeb9afcba2fee083b032d5c2..0903e98989ec5ae1c8df115c6febbb22e08b5eb3 100644
(file)
--- a/
drivers/usb/host/xhci-ring.c
+++ b/
drivers/usb/host/xhci-ring.c
@@
-876,6
+876,10
@@
static int handle_tx_event(struct xhci_hcd *xhci,
xhci_warn(xhci, "WARN: transfer error on endpoint\n");
status = -EPROTO;
break;
+ case COMP_BABBLE:
+ xhci_warn(xhci, "WARN: babble error on endpoint\n");
+ status = -EOVERFLOW;
+ break;
case COMP_DB_ERR:
xhci_warn(xhci, "WARN: HC couldn't access mem fast enough\n");
status = -ENOSR;