Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-x1e80100: Do not turn off usb_2 controller GDSC

Allowing the usb_2 controller GDSC to be turned off during system suspend
renders the controller unable to resume.

So use PWRSTS_RET_ON instead in order to make sure this the GDSC doesn't
go down.

Fixes: 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
Cc: stable@vger.kernel.org # 6.8
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20250107-x1e80100-clk-gcc-fix-usb2-gdsc-pwrsts-v1-1-e15d1a5e7d80@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Abel Vesa and committed by
Bjorn Andersson
d26c4ad3 d966ee05

+1 -1
+1 -1
drivers/clk/qcom/gcc-x1e80100.c
··· 6083 6083 .pd = { 6084 6084 .name = "gcc_usb20_prim_gdsc", 6085 6085 }, 6086 - .pwrsts = PWRSTS_OFF_ON, 6086 + .pwrsts = PWRSTS_RET_ON, 6087 6087 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 6088 6088 }; 6089 6089