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

Skip to content
Commit 8e125f65 authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Ensure reset if h/w is out of lpm without any events



In a case where the core is resumed by a child device
after the dwc3-msm driver has processed the disconnect
and entered lpm, there is a possiblity that PMIC is
running APSD for the next connect during this.
Once PMIC notified the driver of connect, the core and
the PHYs are not reset again resulting in erratic
behavior.
Fix this by setting the WAIT_FOR_LPM whenever the
dwc3_msm_resume is called without any events.

Change-Id: I19f00188595c9b2e620be38192a47a902d6b0beb
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent c59330e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment