diff options
| author | Sergey Organov <[email protected]> | 2019-06-26 14:11:29 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-03 17:35:41 +0000 |
| commit | ddf89e7503deb931403add648b67545ec196c3fe (patch) | |
| tree | c6475bec43b4fccbc16bdfd2005aab396b7c2163 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | serial: imx: set_termios(): factor-out 'ucr2' initial value (diff) | |
| download | kernel-ddf89e7503deb931403add648b67545ec196c3fe.tar.gz kernel-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 <[email protected]>
Tested-by: Sascha Hauer <[email protected]>
Signed-off-by: Sergey Organov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
