diff options
author | Andrew Chant <achant@google.com> | 2018-05-09 11:23:09 -0700 |
---|---|---|
committer | dianlujitao <dianlujitao@lineageos.org> | 2020-06-23 16:10:26 +0800 |
commit | f9f9839c3bc7f69c3b258ffa0e545a180715147d (patch) | |
tree | 12347b24d3fefde4a9b931e95f764e5f91ca5b45 /libhidl | |
parent | 8338f12db01108903b3ac8f2f9c03064f5bdee30 (diff) |
sdm660-common: Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.
Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.
The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.
Test: booted on Walleye, saw no more messages:
[ 472.412555] c0 5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.
Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
Diffstat (limited to 'libhidl')
0 files changed, 0 insertions, 0 deletions