From: Thiemo Seufer Date: Mon, 16 Jul 2007 06:39:59 +0000 (-0700) Subject: Update zilog timeout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1fbac447993b275f90e118826a5edca1ec508da;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Update zilog timeout Update zilog timeout, thanks Peter Fuerst. Signed-off-by: Thiemo Seufer Cc: Martin Michlmayr Cc: Peter Fuerst Cc: Russell King Cc: Alan Cox Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/ip22zilog.c b/drivers/serial/ip22zilog.c index c3abfb39f31..f3257f708ef 100644 --- a/drivers/serial/ip22zilog.c +++ b/drivers/serial/ip22zilog.c @@ -862,6 +862,7 @@ ip22zilog_set_termios(struct uart_port *port, struct ktermios *termios, up->cflag = termios->c_cflag; ip22zilog_maybe_update_regs(up, ZILOG_CHANNEL_FROM_PORT(port)); + uart_update_timeout(port, termios->c_cflag, baud); spin_unlock_irqrestore(&up->port.lock, flags); } @@ -1017,6 +1018,8 @@ ip22serial_console_termios(struct console *con, char *options) } con->cflag = cflag | CS8; /* 8N1 */ + + uart_update_timeout(&ip22zilog_port_table[con->index].port, cflag, baud); } static int __init ip22zilog_console_setup(struct console *con, char *options)