Skip to content
Snippets Groups Projects
Commit c5f33383 authored by Alan Cox's avatar Alan Cox Committed by Russell King
Browse files

[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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2a7057e3
No related branches found
No related tags found
No related merge requests found
...@@ -277,6 +277,8 @@ serial21285_set_termios(struct uart_port *port, struct ktermios *termios, ...@@ -277,6 +277,8 @@ serial21285_set_termios(struct uart_port *port, struct ktermios *termios,
if (termios->c_iflag & INPCK) if (termios->c_iflag & INPCK)
port->read_status_mask |= RXSTAT_FRAME | RXSTAT_PARITY; port->read_status_mask |= RXSTAT_FRAME | RXSTAT_PARITY;
tty_encode_baud_rate(tty, baud, baud);
/* /*
* Which character status flags should we ignore? * Which character status flags should we ignore?
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment