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: Ie585f2ce5dec429510cc6c00452dc4d49f1372a0
This commit is contained in:
parent
c16a25e536
commit
ea89963af3
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ USE_DEVICE_SPECIFIC_IPACFG_MGR := true
|
|||
# Kernel
|
||||
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3
|
||||
BOARD_KERNEL_CMDLINE += loop.max_part=16
|
||||
BOARD_KERNEL_CMDLINE += usbcore.autosuspend=7
|
||||
BOARD_KERNEL_BASE := 0x00000000
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||
|
|
Loading…
Reference in a new issue