diff options
author | Razvan Stefanescu <razvan.stefanescu@microchip.com> | 2019-03-19 15:20:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-28 00:27:48 +0900 |
commit | f3040983132bf3477acd45d2452a906e67c2fec9 (patch) | |
tree | dc6b5ea329ad4bf056b14893fe02396ca5bbae03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 93bcefd4c6bad4c69dbc4edcd3fbf774b24d930d (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions