]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
USB: serial: kobil_sct: restore initial terminal settings
authorJohan Hovold <johan@kernel.org>
Wed, 31 Jul 2024 13:28:48 +0000 (15:28 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 26 Aug 2024 13:29:27 +0000 (15:29 +0200)
commit4c0d9477ba69a417c698aec1d3012e188cf97add
tree1a75d35c040a2c917614ed768aac092fb38064e1
parent6d243588e95ec221e533cc749106aaefaea27486
USB: serial: kobil_sct: restore initial terminal settings

Commit 6a6c8b362be3 ("usb, kobil: Sort out some bogus tty handling")
intended to fix and clean up the device-specific initial terminal
settings but instead confused the termios input and local control flags
and re-enabled ICRNL and IXON.

Drop the bogus masking of l-flags from the default i-flags (which has no
effect) and restore the original device-specific i-flags.

Fixes: 6a6c8b362be3 ("usb, kobil: Sort out some bogus tty handling")
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/kobil_sct.c