projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7057e
)
[SERIAL] 21285: Report baud rate back via termios
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 19 Nov 2007 15:12:22 +0000
(15:12 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 14:50:01 +0000
(14:50 +0000)
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>
drivers/serial/21285.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/21285.c
b/drivers/serial/21285.c
index facb6785561906dc0b738ed5ca35cbe55946f064..6a48dfa1efe8552fcaa8453d0800a2d58437c764 100644
(file)
--- 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?
*/