Skip to content

Commit

Permalink
tty: Fix direct use of tty buffer work
Browse files Browse the repository at this point in the history
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 <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Nov 21, 2015
1 parent ee0c1a6 commit 17a6921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/tty_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ int tty_set_ldisc(struct tty_struct *tty, int ldisc)

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

tty_unlock(tty);
return retval;
Expand Down

0 comments on commit 17a6921

Please sign in to comment.