]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Implement a drain delay in the tty port
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 11 Jun 2009 11:25:25 +0000 (12:25 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:50:56 +0000 (08:50 -0700)
commitc5411dc5e02fd5b322eeaa85811c94ab1fe860c0
treeb9e75b3171d1a5b715465b82c9cb2b711e6d5550
parentf125f07195ead15ecedb60a3c68e7eebe937ca37
tty: Implement a drain delay in the tty port

We need this for devices that cannot flush and wait, but which do not order
data and modem events. Without it we will hang up before all the data
clears the hardware. Needed for the USB changes.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_port.c
include/linux/tty.h