diff options
author | Felipe Balbi <balbi@ti.com> | 2011-11-29 13:11:21 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 11:48:47 +0200 |
commit | c90bfaece97c18d1ad66b9d4c717b1cb55a647ad (patch) | |
tree | cf0fcc80a8c65eed0e992679696061bd633d6b64 /block/noop-iosched.c | |
parent | e2617796053437df586c53e462076f74bcf268b4 (diff) | |
download | talos-op-linux-c90bfaece97c18d1ad66b9d4c717b1cb55a647ad.tar.gz talos-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 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions