aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-07-27 15:04:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-28 17:31:12 -0400
commit4a73143ced467868e92d7914d9f8bf797640927b (patch)
treeb958d01dae04be411cab9fbcc179599d03e69776 /drivers/usb/host/xhci-ring.c
parent47692d179f7a88794bcd302e53ca7899d7592db9 (diff)
USB: xhci: Handle babble errors on transfers.
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>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r--drivers/usb/host/xhci-ring.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 1fc0decfa0ac..0903e98989ec 100644
--- 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,
876 xhci_warn(xhci, "WARN: transfer error on endpoint\n"); 876 xhci_warn(xhci, "WARN: transfer error on endpoint\n");
877 status = -EPROTO; 877 status = -EPROTO;
878 break; 878 break;
879 case COMP_BABBLE:
880 xhci_warn(xhci, "WARN: babble error on endpoint\n");
881 status = -EOVERFLOW;
882 break;
879 case COMP_DB_ERR: 883 case COMP_DB_ERR:
880 xhci_warn(xhci, "WARN: HC couldn't access mem fast enough\n"); 884 xhci_warn(xhci, "WARN: HC couldn't access mem fast enough\n");
881 status = -ENOSR; 885 status = -ENOSR;