mirror of
https://github.com/sjlongland/adv950.git
synced 2025-09-13 10:43:14 +10:00
serial_core: Pass termios
to set_ldisc
function.
As per 732a84a037a4de29b54e0b4e6cb6f9b3813e29e5.
This commit is contained in:
parent
439f53e97c
commit
70013200a0
@ -1171,7 +1171,7 @@ static void uart_set_ldisc(struct tty_struct *tty)
|
||||
struct uart_port *uport = state->uart_port;
|
||||
|
||||
if (uport->ops->set_ldisc)
|
||||
uport->ops->set_ldisc(uport, tty->termios.c_line);
|
||||
uport->ops->set_ldisc(uport, &tty->termios);
|
||||
}
|
||||
|
||||
static void uart_set_termios(struct tty_struct *tty,
|
||||
|
Loading…
Reference in New Issue
Block a user