tty: Add diagnostic for halted line discipline
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:21 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:32:46 +0000 (16:32 -0700)
commit21622939fc452c7fb739464b8e49368c3ceaa0ee
treec96d6a137611e9d976a4d391a48c94f5267db7ff
parent91debb0383d6564e0dc8ae76181f6daf8e24717a
tty: Add diagnostic for halted line discipline

Flip buffer work must not be scheduled by the line discipline
after the line discipline has been halted; issue warning.

Note: drivers can still schedule flip buffer work.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_ldisc.c
include/linux/tty.h