diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-01-24 10:14:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 16:54:48 +0300 |
commit | 92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9 (patch) | |
tree | 7a798228a1af53a4a0616727f40678b843f2fff4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cd3a4907ee334b40d7aa880c7ab310b154fd5cd4 (diff) | |
download | linux-92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions