diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2012-05-03 05:37:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-04 19:42:15 -0400 |
commit | 8b979f7c6bf13a57e7b6002f1175312a44773960 (patch) | |
tree | bcf32314da50f4abb6faf25457a9d34d208fd3e0 /drivers/tty | |
parent | e391edb727f51094582d39a29a94a83bc9c014e8 (diff) |
Add missing call to uart_update_timeout()
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/mxs-auart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 55fd362b9879..039c054349e4 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -369,6 +369,8 @@ static void mxs_auart_settermios(struct uart_port *u, | |||
369 | 369 | ||
370 | writel(ctrl, u->membase + AUART_LINECTRL); | 370 | writel(ctrl, u->membase + AUART_LINECTRL); |
371 | writel(ctrl2, u->membase + AUART_CTRL2); | 371 | writel(ctrl2, u->membase + AUART_CTRL2); |
372 | |||
373 | uart_update_timeout(u, termios->c_cflag, baud); | ||
372 | } | 374 | } |
373 | 375 | ||
374 | static irqreturn_t mxs_auart_irq_handle(int irq, void *context) | 376 | static irqreturn_t mxs_auart_irq_handle(int irq, void *context) |