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

Skip to content
Commit fbf8219b authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: dwc3-msm: Request xhci resume if SS device connect fails suspend



In SuperSpeed peripheral disconnect/connect scenario to a host
port, there might be a race between dwc3_msm_suspend and PORTSC
register update with Port_Enable bit and Speed field. This can
lead to dwc3_msm_prepare_suspend failure, thereby aborting the
LPM sequence, and the connected peripheral also not enumerating
because of xHC is in suspended state.
Fix this by requesting a xHC resume if dwc3_msm_prepare_suspend
fails and controller is in host mode.

Change-Id: I49e6c19fa92a9ef31dccff584f43bd8942becb87
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 3db6f4c3
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