Badhri Jagan Sridharan a063ae4f55 usb gadget hal: Increase disconnect timeout
Increase disconnect timeout from 10ms to 100ms for the host ports which
dont strictly adhere to the spec to sense disconnect.

This is a work around given that some of the root ports dont detect
it. From the USB 2.0 spec guidelines, the disconnect should be
detected in 2.5us.

From the USB 2.0 spec (pg 186)
Time to detect a disconnect event
at a hub’s downstream facing port
TDDIS Section 7.1.7.3 2 2.5 µs


Bug: 110412433
Test: Walleye entering accessory mode in USB 3.0 with IOGear cable
and USB 3.0 host.

Change-Id: I8d8f62dc1a7bcbc9c7727c51cad7f3cb07ba6b50
(cherry picked from commit 28ad0a90cf)
2018-08-16 16:39:04 +00:00
2018-04-02 23:53:41 +00:00
2018-05-11 17:00:57 -06:00
2017-05-25 11:40:24 -07:00
2018-04-16 17:46:13 -07:00
2017-12-04 11:56:39 -08:00
2017-03-21 10:28:34 -07:00
2017-09-10 16:50:08 -07:00
Description
No description provided
4.4 MiB
Languages
C++ 54.8%
Makefile 33.2%
C 5.5%
Shell 4.6%
Python 1.3%
Other 0.6%