linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] USB: serial: fix initial-termios handling
@ 2019-04-21 12:21 Johan Hovold
  2019-04-21 12:21 ` [1/9] " Johan Hovold
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Johan Hovold @ 2019-04-21 12:21 UTC (permalink / raw)
  To: linux-usb; +Cc: Greg Kroah-Hartman, Johan Hovold

A few drivers override the default initial termios settings provided by
USB serial core, but due to a long-standing bug, the terminal settings
were being reset on every (first) open rather than on first use after
probe as intended.

This series fixes the bug and cleans up the various init_termios
implementations somewhat.

Johan


Johan Hovold (9):
  USB: serial: fix initial-termios handling
  USB: serial: ark3116: drop redundant init_termios
  USB: serial: cypress_m8: drop unused driver data flag
  USB: serial: cypress_m8: drop unused termios
  USB: serial: cypress_m8: clean up initial-termios handling
  USB: serial: iuu_phoenix: drop bogus initial cflag
  USB: serial: iuu_phoenix: simplify init_termios
  USB: serial: oti6858: simplify init_termios
  USB: serial: spcp8x5: simplify init_termios

 drivers/usb/serial/ark3116.c     | 11 -------
 drivers/usb/serial/cypress_m8.c  | 49 ++++++--------------------------
 drivers/usb/serial/iuu_phoenix.c |  4 +--
 drivers/usb/serial/oti6858.c     |  5 +---
 drivers/usb/serial/spcp8x5.c     |  5 +---
 drivers/usb/serial/usb-serial.c  | 11 ++++---
 6 files changed, 18 insertions(+), 67 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-04-26  6:40 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-21 12:21 [PATCH 0/9] USB: serial: fix initial-termios handling Johan Hovold
2019-04-21 12:21 ` [1/9] " Johan Hovold
2019-04-21 12:21   ` [PATCH 1/9] " Johan Hovold
2019-04-21 12:21 ` [2/9] USB: serial: ark3116: drop redundant init_termios Johan Hovold
2019-04-21 12:21   ` [PATCH 2/9] " Johan Hovold
2019-04-21 12:21 ` [3/9] USB: serial: cypress_m8: drop unused driver data flag Johan Hovold
2019-04-21 12:21   ` [PATCH 3/9] " Johan Hovold
2019-04-21 12:21 ` [4/9] USB: serial: cypress_m8: drop unused termios Johan Hovold
2019-04-21 12:21   ` [PATCH 4/9] " Johan Hovold
2019-04-21 12:21 ` [5/9] USB: serial: cypress_m8: clean up initial-termios handling Johan Hovold
2019-04-21 12:21   ` [PATCH 5/9] " Johan Hovold
2019-04-21 12:21 ` [6/9] USB: serial: iuu_phoenix: drop bogus initial cflag Johan Hovold
2019-04-21 12:21   ` [PATCH 6/9] " Johan Hovold
2019-04-21 12:21 ` [7/9] USB: serial: iuu_phoenix: simplify init_termios Johan Hovold
2019-04-21 12:21   ` [PATCH 7/9] " Johan Hovold
2019-04-21 12:21 ` [8/9] USB: serial: oti6858: " Johan Hovold
2019-04-21 12:21   ` [PATCH 8/9] " Johan Hovold
2019-04-21 12:21 ` [9/9] USB: serial: spcp8x5: " Johan Hovold
2019-04-21 12:21   ` [PATCH 9/9] " Johan Hovold
2019-04-26  6:40 ` [PATCH 0/9] USB: serial: fix initial-termios handling Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).