summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sn_console.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2016-12-13 17:27:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 20:18:03 +0100
commitba04d869974ed02c8ac1769a6693d925bd861f68 (patch)
treedf28bcda984e90b5c859ed98d36bcbde40e10750 /drivers/tty/serial/sn_console.c
parent2d789bd1fc24788116ee0711208ef439a8db7ba5 (diff)
tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
commit 89d8232411a85b9a6b12fd5da4d07d8a138a8e0c upstream. If we don't disable the transmitter in atmel_stop_tx, the DMA buffer continues to send data until it is emptied. This cause problems with the flow control (CTS is asserted and data are still sent). So, disabling the transmitter in atmel_stop_tx is a sane thing to do. Tested on at91sam9g35-cm(DMA) Tested for regressions on sama5d2-xplained(Fifo) and at91sam9g20ek(PDC) Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sn_console.c')
0 files changed, 0 insertions, 0 deletions