aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250_pci.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-02-11 11:49:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-13 09:57:33 -0800
commita5934804a834f525c9e6289935ceef65b952b101 (patch)
tree6fdf15d799b171f51e602cdfb5bcf277aa04338f /drivers/tty/serial/8250/8250_pci.c
parentserial: omap: fix rs485 probe on defered pinctrl (diff)
downloadlinux-dev-a5934804a834f525c9e6289935ceef65b952b101.tar.xz
linux-dev-a5934804a834f525c9e6289935ceef65b952b101.zip
n_tty: Fix poll() when TIME_CHAR and MIN_CHAR == 0
Commit eafbe67f84761d787802e5113d895a316b6292fe, n_tty: Refactor input_available_p() by call site broke poll() when TIME_CHAR(tty) and MIN_CHAR(tty) are both 0. When TIME_CHAR and MIN_CHAR are both 0, input is available if the read_cnt is 1 (not 0). Reported-by: Eric Dumazet <edumazet@google.com> Tested-by: Eric Dumazet <edumazet@google.com> Reported-by: Stephane Eranian <eranian@google.com> Tested-by: David Ahern <dsahern@gmail.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
0 files changed, 0 insertions, 0 deletions