summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-06-03 11:11:34 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-17 17:05:50 -0700
commit32b36eeae6a859670d2939a7d6136cb5e9ed64f8 (patch)
tree59a11c03171be8b514a7325f4fb971979a396014 /drivers/usb/renesas_usbhs
parentb0a50e92bda3c4aeb8017d4e6c6e92146ebd5c9b (diff)
downloadop-kernel-dev-32b36eeae6a859670d2939a7d6136cb5e9ed64f8.zip
op-kernel-dev-32b36eeae6a859670d2939a7d6136cb5e9ed64f8.tar.gz
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>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud