android_kernel_google_msm/drivers/tty
Wang YanQing 893f9ef045 TTY: Fix tty miss restart after we turn off flow-control
commit dab73b4eb9 upstream.

I meet emacs hang in start if I do the operation below:
  1: echo 3 > /proc/sys/vm/drop_caches
  2: emacs BigFile
  3: Press CTRL-S follow 2 immediately

Then emacs hang on, CTRL-Q can't resume, the terminal
hang on, you can do nothing with this terminal except
close it.

The reason is before emacs takeover control the tty,
we use CTRL-S to XOFF it. Then when emacs takeover the
control, it may don't use the flow-control, so emacs hang.
This patch fix it.

This patch will fix a kind of strange tty relation hang problem,
I believe I meet it with vim in ssh, and also see below bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465823

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-07 12:49:11 -07:00
..
hvc xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness. 2012-06-22 11:36:54 -07:00
ipwireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-03-20 21:04:47 -07:00
serial serial_core.c: add put_device() after device_find_child() 2013-05-07 19:51:53 -07:00
vt vt: synchronize_rcu() under spinlock is not nice... 2013-04-05 10:04:19 -07:00
amiserial.c drivers/tty/amiserial.c: add missing tty_unlock 2012-04-19 19:15:35 -07:00
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
isicom.c Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
Kconfig
Makefile
moxa.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
moxa.h
mxser.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mxser.h
n_gsm.c tty: Prevent deadlock in n_gsm driver 2013-02-28 06:58:59 -08:00
n_hdlc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c TTY: Fix tty miss restart after we turn off flow-control 2013-06-07 12:49:11 -07:00
nozomi.c
pty.c tty: fix up atime/mtime mess, take three 2013-05-07 19:51:53 -07:00
rocket.c
rocket.h
rocket_int.h
synclink.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
synclink_gt.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
synclinkmp.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
sysrq.c sysrq: use SEND_SIG_FORCED instead of force_sig() 2012-04-05 15:25:50 -07:00
tty_audit.c
tty_buffer.c
tty_io.c tty: fix up atime/mtime mess, take three 2013-05-07 19:51:53 -07:00
tty_ioctl.c tty: set_termios/set_termiox should not return -EINTR 2013-02-28 06:58:59 -08:00
tty_ldisc.c
tty_mutex.c
tty_port.c