[PATCH 0/8] USB: serial: fix TIOCMBIS and TIOCMBIC

Johan Hovold
2025-10-22T15:26:54Z

Asserting or deasserting a modem control line using TIOCMBIS or TIOCMBIC
should not deassert any lines that are not in the mask, but two drivers
got this wrong.

Included are also some related cleanups.

Johan

Johan Hovold (8):
USB: serial: belkin_sa: fix TIOCMBIS and TIOCMBIC
USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC
USB: serial: belkin_sa: clean up tiocmset()
USB: serial: kobil_sct: clean up tiocmset()
USB: serial: kobil_sct: clean up device type checks
USB: serial: kobil_sct: add control request helpers
USB: serial: kobil_sct: clean up set_termios()
USB: serial: kobil_sct: drop unnecessary initialisations

drivers/usb/serial/belkin_sa.c | 42 +++----
drivers/usb/serial/kobil_sct.c | 210 ++++++++++++---------------------
2 files changed, 95 insertions(+), 157 deletions(-)

--
2.49.1