diff options
| author | Razvan Stefanescu <[email protected]> | 2019-03-19 15:20:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-28 00:27:48 +0900 |
| commit | f3040983132bf3477acd45d2452a906e67c2fec9 (patch) | |
| tree | dc6b5ea329ad4bf056b14893fe02396ca5bbae03 /lib/mpi/mpi-div.c | |
| 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 <[email protected]>
Signed-off-by: Razvan Stefanescu <[email protected]>
Acked-by: Richard Genoud <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions