Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2944a331 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

serial: sh-sci: Use SCSMR_CKS instead of hardcoded literal 3

parent 54af5001
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);