generic: ar8216: allow to use more ports
[openwrt.git] / target / linux / lantiq / patches-2.6.32 / 990-fix-asc-drv-timeout.patch
1 --- a/drivers/serial/lantiq.c
2 +++ b/drivers/serial/lantiq.c
3 @@ -478,8 +478,10 @@
4 spin_unlock_irqrestore(&ltq_asc_lock, flags);
5
6 /* Don't rewrite B0 */
7 - if (tty_termios_baud_rate(new))
8 + if (tty_termios_baud_rate(new))
9 tty_termios_encode_baud_rate(new, baud, baud);
10 +
11 + uart_update_timeout(port, cflag, baud);
12 }
13
14 static const char*
This page took 0.052978 seconds and 5 git commands to generate.