Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 00/11] USB: serial: mos7840: type detection and clean ups
@ 2019-11-07 13:28 Johan Hovold
  2019-11-07 13:28 ` [PATCH 01/11] USB: serial: mos7840: clean up device-type handling Johan Hovold
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Johan Hovold @ 2019-11-07 13:28 UTC (permalink / raw)
  To: Johan Hovold; +Cc: linux-usb

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, back to index

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 13:28 [PATCH 00/11] USB: serial: mos7840: type detection and clean ups Johan Hovold
2019-11-07 13:28 ` [PATCH 01/11] USB: serial: mos7840: clean up device-type handling Johan Hovold
2019-11-07 13:28 ` [PATCH 02/11] USB: serial: mos7840: document MCS7810 detection hack Johan Hovold
2019-11-07 13:28 ` [PATCH 03/11] USB: serial: mos7840: fix probe error handling Johan Hovold
2019-11-07 13:28 ` [PATCH 04/11] USB: serial: mos7840: rip out broken interrupt handling Johan Hovold
2019-11-07 13:28 ` [PATCH 05/11] USB: serial: mos7840: drop redundant urb context check Johan Hovold
2019-11-07 13:28 ` [PATCH 06/11] USB: serial: mos7840: drop paranoid port checks Johan Hovold
2019-11-07 13:29 ` [PATCH 07/11] USB: serial: mos7840: drop paranoid serial checks Johan Hovold
2019-11-07 13:29 ` [PATCH 08/11] USB: serial: mos7840: drop serial struct accessor Johan Hovold
2019-11-07 13:29 ` [PATCH 09/11] USB: serial: mos7840: drop port driver data accessors Johan Hovold
2019-11-07 13:29 ` [PATCH 10/11] USB: serial: mos7840: drop read-urb check Johan Hovold
2019-11-07 13:29 ` [PATCH 11/11] USB: serial: mos7840: drop port open flag Johan Hovold
2019-11-11 13:27 ` [PATCH 00/11] USB: serial: mos7840: type detection and clean ups Greg KH
2019-11-12  9:21   ` Johan Hovold

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git