Skip to contentSkip to conversation

USB: serial: iuu_phoenix: drop bogus initial cflag

PATCH In review Johan Hovold 1 participant 1 message Apr 21, 2019

Subsystems (2)
lore
Share & tools
lore

Johan Hovold

author maintainer
#0 lore raw

PATCH 6/9 USB: serial: iuu_phoenix: drop bogus initial cflag

Drop bogus TIOCM_CTS, which is not a cflag, from the initial terminal settings.

Note that the corresponding bit is already set by CS8.

---
 drivers/usb/serial/iuu_phoenix.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/usb/serial/iuu_phoenix.c +1 -2
index 449e89db9cea..93763d3d5e56 100644
@@ -943,8 +943,7 @@ static void iuu_close(struct usb_serial_port *port)
 static void iuu_init_termios(struct tty_struct *tty)
 {
 	tty->termios = tty_std_termios;
-	tty->termios.c_cflag = CLOCAL | CREAD | CS8 | B9600
-				| TIOCM_CTS | CSTOPB | PARENB;
+	tty->termios.c_cflag = CLOCAL | CREAD | CS8 | B9600 | CSTOPB | PARENB;
 	tty->termios.c_ispeed = 9600;
 	tty->termios.c_ospeed = 9600;
 	tty->termios.c_lflag = 0;