Skip to content
Snippets Groups Projects
Commit 09eb0c66 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

clk: qcom: gcc-sm8650: Do not turn off USB GDSCs during gdsc_disable()


With PWRSTS_OFF_ON, USB GDSCs are turned off during gdsc_disable(). This
can happen during scenarios such as system suspend and breaks the resume
of USB controller from suspend.

So use PWRSTS_RET_ON to indicate the GDSC driver to not turn off the GDSCs
during gdsc_disable() and allow the hardware to transition the GDSCs to
retention when the parent domain enters low power state during system
suspend.

Fixes: c58225b7 ("clk: qcom: add the SM8650 Global Clock Controller driver, part 1")
Signed-off-by: Neil Armstrong's avatarNeil Armstrong <neil.armstrong@linaro.org>
parent 7ec16262
No related branches found
No related tags found
No related merge requests found
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