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

Commit cc9d818d authored by Mayank Rana's avatar Mayank Rana
Browse files

dwc3-msm: Fix enable/disable order between iface_clk and core_clk



Commit 27c20985 ("usb: dwc3-msm: Cleanup suspend and resume
functions") has changed couple of things as below:
1. Turning OFF USB GDSC after turning OFF all USB controller clocks
This change unmasks USB core_clk stuck ON issue on USB cable disconnect
case.

2. order of iface_clk and core_clk with dwc3_msm_resume() API
It introduced USB master clock stuck OFF on USB cable connect case.

core_clk is having FSM depedency on iface_clk. Hence it is must
to disable core_clk before iface_clk and enable iface_clk before
core_clk. Othewise core_clk gets stuck on/off with USB cable
disconnect/connect case.

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