aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-07-07 20:20:46 +0000
committerJohn Crispin <blogic@openwrt.org>2011-07-07 20:20:46 +0000
commitae8aa68eebb51f416cad14e8075eae827880f735 (patch)
tree51b9a4585d5dd2d219fd4218af07abb9af0ee4cc /target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch
parent8aea078c684898a7dc514e958fa0468581c5c2fa (diff)
downloadupstream-ae8aa68eebb51f416cad14e8075eae827880f735.tar.gz
upstream-ae8aa68eebb51f416cad14e8075eae827880f735.tar.bz2
upstream-ae8aa68eebb51f416cad14e8075eae827880f735.zip
adds 2 ASC related patches to lantiq
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27549 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch b/target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch
new file mode 100644
index 0000000000..ccc01a772d
--- /dev/null
+++ b/target/linux/lantiq/patches-3.0/990-fix-asc-drv-timeout.patch
@@ -0,0 +1,14 @@
+--- 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*