USB: serial: mos7840: type detection and clean ups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | USB: serial: mos7840: clean up device-type handlingdrivers/ | +44 | 0 replies | |
| 2/11 | USB: serial: mos7840: document MCS7810 detection hackdrivers/ | +7 | 0 replies | |
| 3/11 | USB: serial: mos7840: fix probe error handlingdrivers/ | +28 | 0 replies | |
| 4/11 | USB: serial: mos7840: rip out broken interrupt handlingdrivers/ | +3 | 0 replies | |
| 5/11 | USB: serial: mos7840: drop redundant urb context checkdrivers/ | +1 | 0 replies | |
| 6/11 | USB: serial: mos7840: drop paranoid port checksdrivers/ | +8 | 0 replies | |
| 7/11 | USB: serial: mos7840: drop paranoid serial checksdrivers/ | +2 | 0 replies | |
| 8/11 | USB: serial: mos7840: drop serial struct accessordrivers/ | +0 | 0 replies | |
| 9/11 | USB: serial: mos7840: drop port driver data accessorsdrivers/ | +13 | 0 replies | |
| 10/11 | USB: serial: mos7840: drop read-urb checkdrivers/ | +0 | 0 replies | |
| 11/11 | USB: serial: mos7840: drop port open flagdrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 11 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/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] USB: serial: mos7840: type detection and clean ups
The mos7840 device-type detection is fragile and cannot generally be relied upon (e.g. as recently reported for Moxa UPort 2210 which was detected as a four-port device).
The first couple of patches adds support for encoding known chip features in the device-id table, and documents the underlying assumptions for the mcs7810-detection hack.
Turns out we have a lot of legacy cruft in this driver, and the remaining patches rips that out.
Johan
Johan Hovold (11):
USB: serial: mos7840: clean up device-type handling
USB: serial: mos7840: document MCS7810 detection hack
USB: serial: mos7840: fix probe error handling
USB: serial: mos7840: rip out broken interrupt handling
USB: serial: mos7840: drop redundant urb context check
USB: serial: mos7840: drop paranoid port checks
USB: serial: mos7840: drop paranoid serial checks
USB: serial: mos7840: drop serial struct accessor
USB: serial: mos7840: drop port driver data accessors
USB: serial: mos7840: drop read-urb check
USB: serial: mos7840: drop port open flag
drivers/usb/serial/mos7840.c | 770 +++++------------------------------ 1 file changed, 102 insertions(+), 668 deletions(-)
Signature · 1 line
2.23.0