Skip to content

Commit 17a6921

Browse files
peterhurleygregkh
authored andcommitted
tty: Fix direct use of tty buffer work
Recent abstraction of tty buffer work introduced api to manage tty input kworker; use it. Fixes: e176058 ("tty: Abstract tty buffer work") Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ee0c1a6 commit 17a6921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/tty_ldisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ int tty_set_ldisc(struct tty_struct *tty, int ldisc)
592592

593593
/* Restart the work queue in case no characters kick it off. Safe if
594594
already running */
595-
schedule_work(&tty->port->buf.work);
595+
tty_buffer_restart_work(tty->port);
596596

597597
tty_unlock(tty);
598598
return retval;

0 commit comments

Comments
 (0)