Sergey Organov 197540dc83 serial: imx: set_mctrl(): correctly restore autoRTS state
imx_uart_set_mctrl() happened to set UCR2_CTSC bit whenever TIOCM_RTS
was set, no matter if RTS/CTS handshake is enabled or not. Now fixed by
turning handshake on only when CRTSCTS bit for the port is set.

Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Link: https://lore.kernel.org/r/1564167161-3972-3-git-send-email-sorganov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-04 12:43:46 +02:00
..
2019-07-25 12:05:28 +02:00
2019-07-25 12:05:28 +02:00
2019-06-03 13:53:20 +02:00
2017-11-21 15:57:07 -08:00
2019-04-21 23:20:08 +02:00
2018-06-12 16:19:22 -07:00
2018-12-28 20:33:54 -08:00