mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
usb: dwc3: gadget: implement streams support
The following patch adds support for streams to dwc3 driver. While at that, also fix one small issue on endpoint disable where we should clear all flags not only ENABLED. Reviewied-by: Paul Zimmerman <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
a4af9008bb
commit
879631aa65
3 changed files with 36 additions and 12 deletions
|
|
@ -3,14 +3,6 @@
|
|||
~~~~~~
|
||||
Please pick something while reading :)
|
||||
|
||||
- Implement streaming support for BULK endpoints
|
||||
Tatyana's patch "usb: Add streams support to the gadget framework"
|
||||
introduces streaming support for the gadget driver.
|
||||
Every usb_request has new field called stream_id which holds its id.
|
||||
Every usb_ep has a field num_supported_strms which describes the max
|
||||
number of streams supported (for this ep).
|
||||
UAS is AFAIK the only gadget with streaming support.
|
||||
|
||||
- Convert interrupt handler to per-ep-thread-irq
|
||||
|
||||
As it turns out some DWC3-commands ~1ms to complete. Currently we spin
|
||||
|
|
|
|||
Loading…
Reference in a new issue