summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/ep0.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-29 11:11:21 (GMT)
committerFelipe Balbi <balbi@ti.com>2011-12-12 09:48:47 (GMT)
commitc90bfaece97c18d1ad66b9d4c717b1cb55a647ad (patch)
treecf0fcc80a8c65eed0e992679696061bd633d6b64 /drivers/usb/dwc3/ep0.c
parente2617796053437df586c53e462076f74bcf268b4 (diff)
downloadlinux-c90bfaece97c18d1ad66b9d4c717b1cb55a647ad.tar.xz
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>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
0 files changed, 0 insertions, 0 deletions