From: Geert Uytterhoeven Date: Fri, 21 Aug 2015 18:02:29 +0000 (+0200) Subject: serial: sh-sci: Use SCSMR_CKS instead of hardcoded literal 3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2944a331b764e65adad1bc374fe456f1e3567b0c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git serial: sh-sci: Use SCSMR_CKS instead of hardcoded literal 3 Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 300f641e730d..206673f44a29 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -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);