USB: serial: add support for multi-interface functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | USB: serial: drop unused suspending flagdrivers/ include/ | +1 | 0 replies | |
| 2/4 | USB: serial: refactor endpoint classificationdrivers/ | +31 | 0 replies | |
| 3/4 | USB: serial: add support for multi-interface functionsdrivers/ include/ | +80 | 6 replies | |
| 4/4 | USB: serial: xr: claim both interfacesdrivers/ | +23 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Greg Kroah-Hartman |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] USB: serial: add support for multi-interface functions
A single USB function can be implemented using a group of interfaces and this is for example commonly used for Communication Class devices.
This series adds support for multi-interface functions to USB serial core and exports an interface that allows drivers to claim a second sibling interface. The interface could easily be extended to allow claiming further interfaces if ever needed.
The final patch uses the new interface to properly claim both the control and data interface of Maxlinear/Exar devices.
Johan
Johan Hovold (4):
USB: serial: drop unused suspending flag
USB: serial: refactor endpoint classification
USB: serial: add support for multi-interface functions
USB: serial: xr: claim both interfaces
drivers/usb/serial/usb-serial.c | 135 ++++++++++++++++++++++++-------- drivers/usb/serial/xr_serial.c | 26 +++++- include/linux/usb/serial.h | 8 +- 3 files changed, 131 insertions(+), 38 deletions(-)
Signature · 1 line
2.26.3