diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-05-28 00:54:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-20 18:09:17 +0200 |
commit | 580b1bbcc94e37d24e7469b3778338e4e988b190 (patch) | |
tree | 230627e98891a2e4681e65baacdae62be13513f3 /drivers/gpio/gpio-intel-mid.c | |
parent | 8af97d26ce2054f4914eb382be2ab1d7c994b190 (diff) |
tty/serial: atmel: fix RS485 half duplex with DMA
commit 0058f0871efe7b01c6f2b3046c68196ab73e96da upstream.
When using DMA, half duplex doesn't work properly because rx is not stopped
before starting tx. Ensure we call atmel_stop_rx() in the DMA case.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-intel-mid.c')
0 files changed, 0 insertions, 0 deletions