diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-02-08 04:18:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 09:22:25 -0800 |
commit | b4c502a709e53e02ae5249a5f2f2b8292abc0386 (patch) | |
tree | 0838eb2163811b426c9154ff9598015acd8ef7ef /drivers/serial | |
parent | 6f803cd08f4cfa40e3aa31ffc39777700c018e09 (diff) | |
download | op-kernel-dev-b4c502a709e53e02ae5249a5f2f2b8292abc0386.zip op-kernel-dev-b4c502a709e53e02ae5249a5f2f2b8292abc0386.tar.gz |
8250: enable rate reporting via termios
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/8250.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 0b02757..77f7a7f 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 |