diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-11-19 15:12:22 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 14:50:01 +0000 |
commit | c5f333831fe2ff1656f954aabdb3eb8c276169cc (patch) | |
tree | 92462c0cf9e10743a53858ce765917f3da6f068b /drivers/serial/21285.c | |
parent | 2a7057e306b198e1e0d7db8615d8e9c69b880913 (diff) |
[SERIAL] 21285: Report baud rate back via termios
Currently reports back the requested rate not the result of the divides
but thats an easy fix for someone with h/w
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/21285.c')
-rw-r--r-- | drivers/serial/21285.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/21285.c b/drivers/serial/21285.c index facb6785561..6a48dfa1efe 100644 --- a/drivers/serial/21285.c +++ b/drivers/serial/21285.c @@ -277,6 +277,8 @@ serial21285_set_termios(struct uart_port *port, struct ktermios *termios, if (termios->c_iflag & INPCK) port->read_status_mask |= RXSTAT_FRAME | RXSTAT_PARITY; + tty_encode_baud_rate(tty, baud, baud); + /* * Which character status flags should we ignore? */ |