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 /include/asm-generic/div64.h | |
parent | cd3a4907ee334b40d7aa880c7ab310b154fd5cd4 (diff) |
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 'include/asm-generic/div64.h')
0 files changed, 0 insertions, 0 deletions