[PATCH 00/11] USB: serial: mos7840: type detection and clean ups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.23.0




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux