summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/datafab.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-29 13:11:21 +0200
committerFelipe Balbi <balbi@ti.com>2011-12-12 11:48:47 +0200
commitc90bfaece97c18d1ad66b9d4c717b1cb55a647ad (patch)
treecf0fcc80a8c65eed0e992679696061bd633d6b64 /drivers/usb/storage/datafab.c
parente2617796053437df586c53e462076f74bcf268b4 (diff)
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/storage/datafab.c')
0 files changed, 0 insertions, 0 deletions