From: Lothar Waßmann Date: Thu, 3 May 2012 09:37:12 +0000 (+0200) Subject: Add missing call to uart_update_timeout() X-Git-Tag: v3.2.19~70 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=93e22c8d987a25aa48f27016cb2608ddef48d54d;p=karo-tx-linux.git Add missing call to uart_update_timeout() commit 8b979f7c6bf13a57e7b6002f1175312a44773960 upstream. 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 7e02c9c344fe..5b3d063a4aa1 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -368,6 +368,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)