]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pch_uart: Fix hw-flow control issue
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Thu, 27 Oct 2011 06:45:18 +0000 (15:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Nov 2011 17:08:35 +0000 (09:08 -0800)
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>
drivers/tty/serial/pch_uart.c

index b46218d679e21e4561657b8cf5508e7138d5e03e..3746cede50f3cde380f4c03a3558d60e4c8642f1 100644 (file)
@@ -1278,6 +1278,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);