提交 a1d7cfe2 编写于 作者: T Tomoya MORINAGA 提交者: Greg Kroah-Hartman

pch_uart: Fix hw-flow control issue

Using hardware flow control,
currently, register of the control-bit(AFE) is not set.
This patch fixes the issue.
Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Acked-by: NAlan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c2a3e84f
...@@ -1280,6 +1280,7 @@ static void pch_uart_set_termios(struct uart_port *port, ...@@ -1280,6 +1280,7 @@ static void pch_uart_set_termios(struct uart_port *port,
if (rtn) if (rtn)
goto out; goto out;
pch_uart_set_mctrl(&priv->port, priv->port.mctrl);
/* Don't rewrite B0 */ /* Don't rewrite B0 */
if (tty_termios_baud_rate(termios)) if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud); tty_termios_encode_baud_rate(termios, baud, baud);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册