commit | 0058f0871efe7b01c6f2b3046c68196ab73e96da | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Sat May 28 00:54:08 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 25 13:40:22 2016 -0700 |
tree | 7ac82c609e931a804409d339c2262ce3e0d748df | |
parent | 637ba54f6051903e1f0011b75ee36b2a29696c6d [diff] |
tty/serial: atmel: fix RS485 half duplex with DMA 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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>