Skip to content
Commit a1d094cc authored by Mayank Rana's avatar Mayank Rana
Browse files

dwc3-msm: Replace autosuspend delay functionality with stop host mode



With ID clear notification i.e. USB host mode disconnect, current
code is using PM runtime autosuspend functionality to put USB into
LPM having autosuspend delay of 1sec. With USB host mode cable
disconnect/connect having delay of less than 1 second, USB doesn't
go into LPM in between USB host mode disconnect and USB host mode
cable connect. This results into XHCI controller not being reset as
expected causing USB low speed and high speed device enumeration
issue with connect-debounce failure condition. Fix this issue by
replacing autosuspend functionality by pm_runtime_put_sync_suspend()
to put USB into LPM with USB host cable disconnect immediately.

Change-Id: I0db6ea7e63b853e419ccfd51808b8955e874db76
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 8725a0c5
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