linux/drivers/usb/dwc3
Felipe Balbi c90bfaece9 usb: dwc3: gadget: fix stream enable bit
ep->max_streams is a mere hint to the gadget
driver that 'ep' supports stream handling. Using
that as a decision variable for enabling streams
was my worst brain-fart to date.

Instead, we should check from the Superspeed
Endpoint Companion Descriptor if the endpoint
has requested streams. For that we need a little
re-factoring but it is now correct.

Debugged-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-12 11:48:47 +02:00
..
core.c usb: dwc3: use correct hwparam register for power mgm check 2011-12-12 11:48:44 +02:00
core.h usb: dwc3: gadget: fix stream enable bit 2011-12-12 11:48:47 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: fix sparse errors 2011-12-12 11:48:29 +02:00
dwc3-omap.c usb: dwc3: omap: move to module_platform_driver 2011-12-12 11:48:43 +02:00
dwc3-pci.c usb: dwc3: move dwc3 device ID bitmap to core.c 2011-12-12 11:48:21 +02:00
ep0.c usb: dwc3: ep0: fix GetStatus handling (again) 2011-12-12 11:48:46 +02:00
gadget.c usb: dwc3: gadget: fix stream enable bit 2011-12-12 11:48:47 +02:00
gadget.h usb: dwc3: ep0: use dwc3_request for ep0 requsts instead of usb_request 2011-12-12 11:48:45 +02:00
host.c usb: dwc3: host: remove unused includes 2011-12-12 11:48:19 +02:00
io.h usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00
Kconfig usb: dwc3: depend on both Host and Gadget stacks 2011-12-12 11:48:14 +02:00
Makefile usb: dwc3: always compile gadget side too 2011-12-12 11:48:13 +02:00