Skip to content

Commit e570046

Browse files
abelvesagregkh
authored andcommitted
clk: qcom: gcc-x1e80100: Do not turn off usb_2 controller GDSC
commit d26c4ad upstream. 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: 161b7c4 ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100") Cc: [email protected] # 6.8 Signed-off-by: Abel Vesa <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Tested-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/20250107-x1e80100-clk-gcc-fix-usb2-gdsc-pwrsts-v1-1-e15d1a5e7d80@linaro.org Signed-off-by: Bjorn Andersson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 39bafac commit e570046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gcc-x1e80100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6083,7 +6083,7 @@ static struct gdsc gcc_usb20_prim_gdsc = {
60836083
.pd = {
60846084
.name = "gcc_usb20_prim_gdsc",
60856085
},
6086-
.pwrsts = PWRSTS_OFF_ON,
6086+
.pwrsts = PWRSTS_RET_ON,
60876087
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
60886088
};
60896089

0 commit comments

Comments
 (0)