diff options
author | 2019-03-19 15:20:34 +0200 | |
---|---|---|
committer | 2019-03-28 00:27:48 +0900 | |
commit | f3040983132bf3477acd45d2452a906e67c2fec9 (patch) | |
tree | dc6b5ea329ad4bf056b14893fe02396ca5bbae03 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | serial: sh-sci: Fix setting SCSCR_TIE while transferring data (diff) | |
download | wireguard-linux-f3040983132bf3477acd45d2452a906e67c2fec9.tar.xz wireguard-linux-f3040983132bf3477acd45d2452a906e67c2fec9.zip |
tty/serial: atmel: Add is_half_duplex helper
Use a helper function to check that a port needs to use half duplex
communication, replacing several occurrences of multi-line bit checking.
Fixes: b389f173aaa1 ("tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions