aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r--drivers/serial/8250.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 0b02757196b2..77f7a7f0646e 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2174,6 +2174,7 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
2174 } 2174 }
2175 serial8250_set_mctrl(&up->port, up->port.mctrl); 2175 serial8250_set_mctrl(&up->port, up->port.mctrl);
2176 spin_unlock_irqrestore(&up->port.lock, flags); 2176 spin_unlock_irqrestore(&up->port.lock, flags);
2177 tty_termios_encode_baud_rate(termios, baud, baud);
2177} 2178}
2178 2179
2179static void 2180static void