mxser: don't start TX from tty_operations::put_char
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:15:03 +0000 (08:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:02 +0000 (13:10 +0200)
commit8aff64e00f1eced4e73ca81c7599c06851da4475
treefa2044c4c1443e3a616c2313bc3d969c4db9126f
parent007bbdc87522d17d711ca6bef0d4fe85f62f8c84
mxser: don't start TX from tty_operations::put_char

TX is not supposed to be started from tty_operations::put_char. Line
disciplines ought to call tty_operations::put_char several times and
then do a single tty_operations::flush_chars to start TX.

Fix this in mxser by removing TX startup from mxser_put_char.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-58-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c