summaryrefslogtreecommitdiffstats
path: root/Documentation/s390
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2019-06-26 17:11:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 19:35:41 +0200
commitddf89e7503deb931403add648b67545ec196c3fe (patch)
treec6475bec43b4fccbc16bdfd2005aab396b7c2163 /Documentation/s390
parent41ffa48ea7b21330d2e7d87558bb710700da4609 (diff)
downloadlinux-ddf89e7503deb931403add648b67545ec196c3fe.tar.gz
linux-ddf89e7503deb931403add648b67545ec196c3fe.tar.bz2
linux-ddf89e7503deb931403add648b67545ec196c3fe.zip
serial: imx: set_termios(): clarify RTS/CTS bits calculation
Avoid repeating the same code for rs485 twice. Make it obvious we clear CRTSCTS bit in termios->c_cflag whenever sport->have_rtscts is false. Make it obvious we clear UCR2_IRTS whenever CRTSCTS 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/1561558293-7683-4-git-send-email-sorganov@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/s390')
0 files changed, 0 insertions, 0 deletions