Root/
| 1 | --- a/drivers/tty/serial/lantiq.c |
| 2 | +++ b/drivers/tty/serial/lantiq.c |
| 3 | @@ -478,8 +478,10 @@ lqasc_set_termios(struct uart_port *port |
| 4 | spin_unlock_irqrestore(<q_asc_lock, flags); |
| 5 | |
| 6 | /* Don't rewrite B0 */ |
| 7 | - if (tty_termios_baud_rate(new)) |
| 8 | + if (tty_termios_baud_rate(new)) |
| 9 | tty_termios_encode_baud_rate(new, baud, baud); |
| 10 | + |
| 11 | + uart_update_timeout(port, cflag, baud); |
| 12 | } |
| 13 | |
| 14 | static const char* |
| 15 |
