1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 17:37:32 +02:00
openwrt-xburst/target/linux/lantiq/patches-3.0/990-backport-3.1-fix-asc-drv-timeout.patch
blogic eac20bee29 [lantiq]
* update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-10 15:13:46 +00:00

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(&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*