From: Alan Cox Date: Fri, 8 Feb 2008 12:18:53 +0000 (-0800) Subject: 8250: enable rate reporting via termios X-Git-Tag: v2.6.25-rc1~239 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b4c502a709e53e02ae5249a5f2f2b8292abc0386;p=linux-2.6-omap-h63xx.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 0b02757196b..77f7a7f0646 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