USB: serial: iuu_phoenix: drop bogus initial cflag
authorJohan Hovold <johan@kernel.org>
Sun, 21 Apr 2019 12:21:51 +0000 (14:21 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 26 Apr 2019 06:38:00 +0000 (08:38 +0200)
Drop bogus TIOCM_CTS, which is not a cflag, from the initial terminal
settings.

Note that the corresponding bit is already set by CS8.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c

index 449e89db9ceaa1920accbfc373cf72bbddda81e8..93763d3d5e5676790f79e38d0a8731846e1bf4d1 100644 (file)
@@ -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;