projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0c1a6
)
tty: Fix direct use of tty buffer work
author
Peter Hurley
<peter@hurleysoftware.com>
Sun, 8 Nov 2015 12:53:06 +0000
(07:53 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 21 Nov 2015 00:19:54 +0000
(16:19 -0800)
Recent abstraction of tty buffer work introduced api to manage
tty input kworker; use it.
Fixes: e176058f0de5 ("tty: Abstract tty buffer work")
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_ldisc.c
b/drivers/tty/tty_ldisc.c
index 5af8f1874c1aab02fc16dbb0950d7264caa282ca..629e3c865072035f14fd4e6ece5a2544bcbf713c 100644
(file)
--- a/
drivers/tty/tty_ldisc.c
+++ b/
drivers/tty/tty_ldisc.c
@@
-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;