Thread (17 messages) 17 messages, 4 authors, 2018-07-19

[PATCH 3/3] tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode

From: gregkh@linuxfoundation.org (Greg KH)
Date: 2018-07-12 14:58:32
Also in: linux-arch, linux-serial, lkml

On Wed, Jul 11, 2018 at 03:26:23PM +0200, Ludovic Desroches wrote:
From: Nicolas Ferre <nicolas.ferre@microchip.com>

In atmel_shutdown() we call atmel_stop_rx() and atmel_stop_tx() functions.
Prevent the rx restart that is implemented in RS485 or ISO7816 modes when
calling atmel_stop_tx() by using the atomic information tasklet_shutdown
that is already in place for this purpose.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 drivers/tty/serial/atmel_serial.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Did you send this patch twice?

confused,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help