summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_core.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-05 19:43:23 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-05 19:43:23 -0800
commit28e1445c650035668514df6f446c81f89990ac52 (patch)
treec2e15675eb23c5ac3ca6841b1851abb95929f351 /drivers/tty/serial/serial_core.c
parentc015b4ad2ae57e5f07a5d4f746835356056c8e03 (diff)
parent494c1eac7e73f719af9d474a96ec8494c33efd6a (diff)
downloadtalos-op-linux-28e1445c650035668514df6f446c81f89990ac52.tar.gz
talos-op-linux-28e1445c650035668514df6f446c81f89990ac52.zip
Merge branch 'tty-linus' into 'tty-testing'
We need the fixes in drivers/tty/tty_io.c that were done in there for future patches in this branch. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r--drivers/tty/serial/serial_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 3e36ecf98624..1a2d90fe86da 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -363,7 +363,7 @@ uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
* The spd_hi, spd_vhi, spd_shi, spd_warp kludge...
* Die! Die! Die!
*/
- if (baud == 38400)
+ if (try == 0 && baud == 38400)
baud = altbaud;
/*
OpenPOWER on IntegriCloud