Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sarah Sharp and committed by
Greg Kroah-Hartman
4a73143c 47692d17

+4
+4
drivers/usb/host/xhci-ring.c
··· 876 876 xhci_warn(xhci, "WARN: transfer error on endpoint\n"); 877 877 status = -EPROTO; 878 878 break; 879 + case COMP_BABBLE: 880 + xhci_warn(xhci, "WARN: babble error on endpoint\n"); 881 + status = -EOVERFLOW; 882 + break; 879 883 case COMP_DB_ERR: 880 884 xhci_warn(xhci, "WARN: HC couldn't access mem fast enough\n"); 881 885 status = -ENOSR;