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:Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment