summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch')
-rw-r--r--target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch b/target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch
new file mode 100644
index 0000000..52b2a61
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.32/990-fix-asc-drv-timeout.patch
@@ -0,0 +1,14 @@
+--- 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*