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>
Thu, 19 Dec 2013 00:26:12 +0000 (16:26 -0800)
commite5e4746510d140261918aecce2e5e3aa4456f7e9
tree2bececd331cf915e22765c78727c89836a4a48b4
parent226b3a2e2e2e0c7325ead563a84b6555e2f3347a
usb: usbtest: Add timetout to simple_io()

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