mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
serial: sh-sci: Use SCSMR_CKS instead of hardcoded literal 3
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
54af5001e1
commit
2944a331b7
@ -1969,7 +1969,7 @@ static void sci_set_termios(struct uart_port *port, struct ktermios *termios,
|
||||
|
||||
sci_reset(port);
|
||||
|
||||
smr_val |= serial_port_in(port, SCSMR) & 3;
|
||||
smr_val |= serial_port_in(port, SCSMR) & SCSMR_CKS;
|
||||
|
||||
uart_update_timeout(port, termios->c_cflag, baud);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user