Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bddc5656 authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3: otg: Add delay after entering host mode



When a USB peripheral is connected via an A-type cable the OTG
state machine first has to trigger the role-switch to host mode.
However, the pm_runtime_put_sync() call may sometimes invoke the
controller's runtime suspend immediately, before the device has
had a chance to be detected by the just-started host controller
driver. Replace with a 1 sec delay after the initial transition
to OTG_STATE_A_HOST to allow additional time for detection.

CRs-fixed: 614213
Change-Id: I021fa0ba794bb74451bc097ed48db3821b38b7ca
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 5bc094e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment