mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-21 09:19:53 +02:00
15 lines
399 B
Diff
15 lines
399 B
Diff
|
--- a/drivers/tty/serial/lantiq.c
|
||
|
+++ b/drivers/tty/serial/lantiq.c
|
||
|
@@ -478,8 +478,10 @@ lqasc_set_termios(struct uart_port *port
|
||
|
spin_unlock_irqrestore(<q_asc_lock, flags);
|
||
|
|
||
|
/* Don't rewrite B0 */
|
||
|
- if (tty_termios_baud_rate(new))
|
||
|
+ if (tty_termios_baud_rate(new))
|
||
|
tty_termios_encode_baud_rate(new, baud, baud);
|
||
|
+
|
||
|
+ uart_update_timeout(port, cflag, baud);
|
||
|
}
|
||
|
|
||
|
static const char*
|