Add missing call to uart_update_timeout()
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 3 May 2012 09:37:12 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:42:15 +0000 (16:42 -0700)
This patch fixes a problem reported here:
http://article.gmane.org/gmane.linux.ports.arm.kernel/155242/match=auart

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c

index 55fd362b9879b7e9445ea1603e65daba18628001..039c054349e4cbc1e8aefa40d8cc17bc2e1c3b93 100644 (file)
@@ -369,6 +369,8 @@ static void mxs_auart_settermios(struct uart_port *u,
 
        writel(ctrl, u->membase + AUART_LINECTRL);
        writel(ctrl2, u->membase + AUART_CTRL2);
+
+       uart_update_timeout(u, termios->c_cflag, baud);
 }
 
 static irqreturn_t mxs_auart_irq_handle(int irq, void *context)