[PATCH RFC 0/7] serial: imx: fix RTS and RTS/CTS handling
From: Sergey Organov <hidden>
Date: 2019-06-14 12:11:57
Also in:
linux-serial
Dear Sascha, I think these patches deliver simpler end result and are more complete than what you just posted. In particular, the serial: imx: set_mctrl(): correctly restore autoRTS state addresses exactly the issue your patch is about, but in a slightly simpler manner. The patches are not tested yet, so I've put RFC in the header. Just my 2 cents. I can obviously re-roll them on top of your work later, if required. Sergey Organov (7): serial: imx: fix locking in set_termios() serial: imx: set_termios(): factor-out 'ucr2' initial value serial: imx: set_termios(): clarify RTS/CTS bits calculation serial: imx: set_termios(): do not enable autoRTS if RTS is unset serial: imx: set_termios(): preserve RTS state serial: imx: set_mctrl(): correctly restore autoRTS state serial: imx: get rid of imx_uart_rts_auto() drivers/tty/serial/imx.c | 93 ++++++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 46 deletions(-) -- 2.10.0.1.g57b01a3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel