diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-03-24 09:03:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-19 15:15:38 +0900 |
commit | 0c66940d584d1aac92f6a78460dc0ba2efd3b7ba (patch) | |
tree | b4bc9eaa1ee95b14d7739cad19c682acc37698e2 /net | |
parent | 9220ebffda4aa23fe683c9ca6c94fb72d7c131c2 (diff) | |
download | linux-0c66940d584d1aac92f6a78460dc0ba2efd3b7ba.tar.bz2 |
tty/serial/8250: fix RS485 half-duplex RX
When in half-duplex mode RX will be disabled before TX, but not
enabled after deactivating transmitter. This patch enables
UART_IER_RLSI and UART_IER_RDI interrupts after TX is over.
Cc: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Fixes: e490c9144cfa ("tty: Add software emulated RS485 support for 8250")
Acked-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions