1
0
Fork 0

tty: Fix direct use of tty buffer work

Recent abstraction of tty buffer work introduced api to manage
tty input kworker; use it.

Fixes: e176058f0d ("tty: Abstract tty buffer work")
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Peter Hurley 2015-11-08 07:53:06 -05:00 committed by Greg Kroah-Hartman
parent ee0c1a65cf
commit 17a6921971
1 changed files with 1 additions and 1 deletions

View File

@ -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;