diff options
author | Nicolas Ferre <[email protected]> | 2020-02-10 16:20:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-02-10 12:26:44 -0800 |
commit | 04b5bfe3dc94e64d0590c54045815cb5183fb095 (patch) | |
tree | 0f1dc0bb72789c1431a42281e63b0185b0560df7 /tools/perf/util/trace-event-scripting.c | |
parent | 0c5aae59270fb1f827acce182786094c9ccf598e (diff) |
tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode
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.
Fixes: 98f2082c3ac4 ("tty/serial: atmel: enforce tasklet init and termination sequences")
Signed-off-by: Nicolas Ferre <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions