summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-pci.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-03-26 18:46:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-06 07:55:30 -0700
commit261313c0d8de2c4533cfafaa0571dc88b5fb62d7 (patch)
treedc7191edfd8344bfc653e11d45cfdd2fe88ab71e /drivers/usb/host/xhci-pci.c
parentfc363768acb132a959ccf86fa2ea303862113c07 (diff)
downloadlinux-3.10-261313c0d8de2c4533cfafaa0571dc88b5fb62d7.tar.gz
linux-3.10-261313c0d8de2c4533cfafaa0571dc88b5fb62d7.tar.bz2
linux-3.10-261313c0d8de2c4533cfafaa0571dc88b5fb62d7.zip
usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1
commit 9c1b70361e0b38e4acb8e62b54da66538cb77ff2 upstream. It was impossible to enumerate on a SuperSpeed (XHCI) host with alternate setting = 1 due to the wrongly set 'bMaxBurst' field in the SuperSpeed Endpoint Companion descriptor. Testcase: <host> modprobe -r usbtest; modprobe usbtest alt=1 <device> modprobe g_zero plug device to SuperSpeed port on the host. Without this patch the host always complains like so "usb 12-2: Not enough bandwidth for new device state. usb 12-2: Not enough bandwidth for altsetting 1" Bug was introduced by commit cf9a08ae in v3.9 Fixes: cf9a08ae5aec (usb: gadget: convert source sink and loopback to new function interface) Reviewed-by: Felipe Balbi <balbi@ti.com> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
0 files changed, 0 insertions, 0 deletions