aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>2011-10-27 15:45:18 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 09:09:57 -0800
commit3f04930ad551f504006e35ba5b6d6f717406638c (patch)
tree7ddec9c8c2955a61ad253599b22196457c372f85 /drivers/tty
parentdbe52bb9fc1e9bf2efd515cc9fab874e8da59de1 (diff)
downloadkernel_samsung_smdk4412-3f04930ad551f504006e35ba5b6d6f717406638c.zip
kernel_samsung_smdk4412-3f04930ad551f504006e35ba5b6d6f717406638c.tar.gz
kernel_samsung_smdk4412-3f04930ad551f504006e35ba5b6d6f717406638c.tar.bz2
pch_uart: Fix hw-flow control issue
commit a1d7cfe29f13cf45f8094929864b9c66bf0cd91b upstream. Using hardware flow control, currently, register of the control-bit(AFE) is not set. This patch fixes the issue. Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/pch_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 4652109..df72c2c 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1277,6 +1277,7 @@ static void pch_uart_set_termios(struct uart_port *port,
if (rtn)
goto out;
+ pch_uart_set_mctrl(&priv->port, priv->port.mctrl);
/* Don't rewrite B0 */
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);