n_tty: Refactor input_available_p() by call site
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 2 Dec 2013 19:24:45 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 00:52:40 +0000 (16:52 -0800)
Distinguish if caller is n_tty_poll() or n_tty_read(), and
set the read/wakeup threshold accordingly.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found