From: Alan Cox Date: Fri, 8 Feb 2008 12:18:53 +0000 (-0800) Subject: 8250: enable rate reporting via termios X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b4c502a709e53e02ae5249a5f2f2b8292abc0386;p=deliverable%2Flinux.git 8250: enable rate reporting via termios Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, } serial8250_set_mctrl(&up->port, up->port.mctrl); spin_unlock_irqrestore(&up->port.lock, flags); + tty_termios_encode_baud_rate(termios, baud, baud); } static void