linux/drivers/usb/misc
Alan Stern 32b36eeae6 USB: usbtest: add a timeout for scatter-gather tests
In usbtest, tests 5 - 8 use the scatter-gather library in usbcore
without any sort of timeout.  If there's a problem in the gadget or
host controller being tested, the test can hang.

This patch adds a 10-second timeout to the tests, so that they will
fail gracefully with an ETIMEDOUT error instead of hanging.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Huang Rui <ray.huang@amd.com>
Tested-by: Huang Rui <ray.huang@amd.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-17 17:05:50 -07:00
..
sisusbvga
Kconfig
Makefile
adutux.c
appledisplay.c USB: appledisplay: fix race between reading and writing from the device 2014-05-27 16:03:57 -07:00
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c usb: ftdi-elan: Use pr_<level> 2014-04-24 13:13:59 -07:00
idmouse.c
iowarrior.c USB: iowarrior: Convert local dbg macro to dev_dbg 2014-05-27 15:00:22 -07:00
isight_firmware.c
ldusb.c
legousbtower.c
rio500.c
rio500_usb.h
trancevibrator.c
usb3503.c usb: usb5303: add support for reference clock specified in device tree 2014-05-27 16:19:04 -07:00
usb_u132.h
usblcd.c
usbled.c
usbsevseg.c
usbtest.c USB: usbtest: add a timeout for scatter-gather tests 2014-06-17 17:05:50 -07:00
uss720.c
yurex.c USB: yurex: fix race between probe() and read() 2014-05-27 16:03:58 -07:00