summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/mass_storage.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/gadget/mass_storage.c
parente2617796053437df586c53e462076f74bcf268b4 (diff)
downloadblackbird-op-linux-c90bfaece97c18d1ad66b9d4c717b1cb55a647ad.tar.gz
blackbird-op-linux-c90bfaece97c18d1ad66b9d4c717b1cb55a647ad.zip
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/gadget/mass_storage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud