imx_set_mctrl() had TIOCM_DTR meaning inverted Signed-off-by: Sergey Organov <sorganov@xxxxxxxxx> --- drivers/tty/serial/imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index dff75dc..e9e812a 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -974,7 +974,7 @@ static void imx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) } ucr3 = imx_uart_readl(sport, UCR3) & ~UCR3_DSR; - if (!(mctrl & TIOCM_DTR)) + if (mctrl & TIOCM_DTR) ucr3 |= UCR3_DSR; imx_uart_writel(sport, ucr3, UCR3); -- 2.10.0.1.g57b01a3