You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freifunkist-firmware/target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch

15 lines
350 B

--- a/drivers/serial/lantiq.c
+++ b/drivers/serial/lantiq.c
@@ -478,8 +478,10 @@
spin_unlock_irqrestore(&ltq_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*