https://github.com/torvalds/linux
Revision f528bf4f57e43d1af4b2a5c97f09e43e0338c105 authored by Johan Hovold on 04 March 2015, 09:39:05 UTC, committed by Greg Kroah-Hartman on 07 March 2015, 02:44:14 UTC
Make sure to handle an infinite timeout (0).

Note that wait_until_sent is currently never called with a 0-timeout
argument due to a bug in tty_wait_until_sent.

Fixes: dcf010503966 ("USB: serial: add generic wait_until_sent
implementation")
Cc: stable <stable@vger.kernel.org>	# v3.10

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6b270fd
History
Tip revision: f528bf4f57e43d1af4b2a5c97f09e43e0338c105 authored by Johan Hovold on 04 March 2015, 09:39:05 UTC
USB: serial: fix infinite wait_until_sent timeout
Tip revision: f528bf4
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 297.9 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top