Razvan Stefanescu
6952a0956e
tty/serial: atmel: Add is_half_duplex helper
...
commit f3040983132bf3477acd45d2452a906e67c2fec9 upstream.
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>
2019-04-05 22:31:24 +02:00
..
2019-03-23 14:35:25 +01:00
2018-10-03 17:00:54 -07:00
2017-07-30 07:35:28 -07:00
2017-08-28 20:51:21 +02:00
2017-05-18 16:43:55 +02:00
2018-05-25 16:18:00 +02:00
2017-08-28 20:51:19 +02:00
2019-01-26 09:37:01 +01:00
2017-11-02 11:10:55 +01:00
2017-08-28 20:51:21 +02:00
2017-11-02 11:10:55 +01:00
2017-01-27 09:23:36 +01:00
2018-05-25 16:18:00 +02:00
2019-04-05 22:31:24 +02:00
2017-03-14 10:59:04 +08:00
2017-09-18 18:19:20 +02:00
2017-01-19 14:20:23 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-01-27 09:23:36 +01:00
2017-11-02 11:10:55 +01:00
2018-09-26 08:38:14 +02:00
2017-05-18 16:43:55 +02:00
2017-11-02 11:10:55 +01:00
2019-03-05 17:58:00 +01:00
2017-01-27 09:23:36 +01:00
2017-05-18 16:43:55 +02:00
2018-10-03 17:00:57 -07:00
2017-07-12 16:26:04 -07:00
2017-07-12 16:26:04 -07:00
2017-01-27 09:23:36 +01:00
2017-11-02 11:10:55 +01:00
2017-07-18 09:28:29 +02:00
2019-04-03 06:25:19 +02:00
2017-01-27 09:23:36 +01:00
2017-01-27 09:23:36 +01:00
2017-08-28 20:51:21 +02:00
2017-11-02 11:10:55 +01:00
2019-04-03 06:25:18 +02:00
2017-08-28 20:51:19 +02:00
2017-08-28 20:51:21 +02:00
2017-06-20 10:24:15 +08:00
2017-08-28 20:51:19 +02:00
2017-09-05 10:30:48 -07:00
2018-10-10 08:54:18 +02:00
2018-05-25 16:17:59 +02:00
2017-11-24 08:37:04 +01:00
2017-08-28 20:51:19 +02:00
2017-09-14 11:59:30 +02:00
2019-01-26 09:37:01 +01:00
2017-07-30 07:35:28 -07:00
2017-11-02 11:10:55 +01:00
2017-01-27 09:23:36 +01:00
2017-01-27 09:23:36 +01:00
2019-02-12 19:46:04 +01:00
2017-01-12 11:51:24 +01:00
2017-03-14 11:01:40 +08:00
2018-11-21 09:24:04 +01:00
2017-09-18 18:19:21 +02:00
2019-02-12 19:46:13 +01:00
2017-01-27 09:23:36 +01:00
2017-07-30 07:35:28 -07:00
2019-04-03 06:25:18 +02:00
2017-11-02 11:10:55 +01:00
2017-06-20 10:24:15 +08:00
2017-01-27 09:23:36 +01:00
2017-08-28 20:51:19 +02:00
2017-08-28 20:51:19 +02:00
2017-08-28 20:51:19 +02:00
2017-07-30 07:32:32 -07:00
2018-12-21 14:13:13 +01:00
2017-02-23 08:27:24 -08:00
2017-08-28 20:51:21 +02:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:01:01 +01:00
2017-01-27 09:23:36 +01:00
2017-11-02 11:10:55 +01:00
2017-03-17 14:14:30 +09:00
2017-08-28 20:51:21 +02:00
2017-01-27 09:23:36 +01:00
2017-01-27 09:23:36 +01:00
2019-03-23 14:35:25 +01:00
2017-01-27 09:23:36 +01:00
2017-11-02 11:10:55 +01:00