Skip to content

USB: serial: add support for multi-interface functions

Johan Hovold linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4USB: serial: drop unused suspending flagdrivers/usb/serial/usb-serial.c include/linux/usb/serial.h+1 -80 replies
2/4USB: serial: refactor endpoint classificationdrivers/usb/serial/usb-serial.c+31 -200 replies
3/4USB: serial: add support for multi-interface functionsdrivers/usb/serial/usb-serial.c include/linux/usb/serial.h+80 -116 replies
4/4USB: serial: xr: claim both interfacesdrivers/usb/serial/xr_serial.c+23 -30 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.

PatchGreg Kroah-Hartman
SeriesR-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.

Read the v1 thread

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