usb: usbtest: Add timetout to simple_io()
authorRoger Quadros <rogerq@ti.com>
Wed, 18 Dec 2013 10:10:10 +0000 (15:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2014 03:09:46 +0000 (20:09 -0700)
commit1b85bc83e162d760a53bf2d48d0ce3427e1c4555
tree08f2559dbb2885c585c222966b089537eae14750
parent26401cbceb478fe203a415612b4c8d52194a9154
usb: usbtest: Add timetout to simple_io()

commit e5e4746510d140261918aecce2e5e3aa4456f7e9 upstream.

Without a timetout some tests e.g. test_halt() can remain stuck forever.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c