summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-07 20:20:46 +0000
committerJohn Crispin <john@openwrt.org>2011-07-07 20:20:46 +0000
commitd7732885edc2a3936a01aac7e40596a7f7a463e7 (patch)
tree638d562403dcf3352219b0af96250e0385dfddca /target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch
parentf1af9625608fd8f87419c0cfb6d43b817d6095ea (diff)
downloadmtk-20170518-d7732885edc2a3936a01aac7e40596a7f7a463e7.zip
mtk-20170518-d7732885edc2a3936a01aac7e40596a7f7a463e7.tar.gz
mtk-20170518-d7732885edc2a3936a01aac7e40596a7f7a463e7.tar.bz2
adds 2 ASC related patches to lantiq
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 27549
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch')
-rw-r--r--target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch b/target/linux/lantiq/patches-2.6.39/990-fix-asc-drv-timeout.patch
new file mode 100644
index 0000000..ccc01a7
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.39/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*