aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/sh-sci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 931d6c3a792c..7477e0ea5cdb 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -1887,9 +1887,9 @@ static void sci_set_termios(struct uart_port *port, struct ktermios *termios,
1887{ 1887{
1888 struct sci_port *s = to_sci_port(port); 1888 struct sci_port *s = to_sci_port(port);
1889 struct plat_sci_reg *reg; 1889 struct plat_sci_reg *reg;
1890 unsigned int baud, smr_val, max_baud, cks; 1890 unsigned int baud, smr_val, max_baud, cks = 0;
1891 int t = -1; 1891 int t = -1;
1892 unsigned int srr; 1892 unsigned int srr = 15;
1893 1893
1894 /* 1894 /*
1895 * earlyprintk comes here early on with port->uartclk set to zero. 1895 * earlyprintk comes here early on with port->uartclk set to zero.