diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2022-01-24 08:14:25 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 14:54:48 +0100 |
| commit | 92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9 (patch) | |
| tree | 7a798228a1af53a4a0616727f40678b843f2fff4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | mxser: fix xmit_buf leak in activate when LSR == 0xff (diff) | |
| download | linux-92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9.tar.gz linux-92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9.zip | |
mxser: use tty_port xmit_buf helpers
For the mxser driver to use kfifo, use tty_port_alloc_xmit_buf() and
tty_port_free_xmit_buf() helpers in activate/shutdown, respectively.
As these calls have to be done in a non-atomic context, we have to move
them outside spinlock and make sure irq is really stopped after we write
to the ISR register.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220124071430.14907-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
