Commit a263813
clk: qcom: gcc-sc8180x: Use retention for USB power domains
[ Upstream commit 25bc96f ]
The USB subsystem does not expect to lose its state on suspend:
xhci-hcd xhci-hcd.0.auto: xHC error in resume, USBSTS 0x401, Reinit
usb usb1: root hub lost power or was reset
(The reinitialization usually succeeds, but it does slow down resume.)
To maintain state during suspend, the relevant GDSCs need to stay in
retention mode, like they do on other similar SoCs. Change the mode to
PWRSTS_RET_ON to fix.
Fixes: 4433594 ("clk: qcom: gcc: Add global clock controller driver for SC8180x")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Val Packett <val@packett.cool>
Link: https://lore.kernel.org/r/20260312112321.370983-4-val@packett.cool
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent ed9ca2c commit a263813
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4172 | 4172 | | |
4173 | 4173 | | |
4174 | 4174 | | |
4175 | | - | |
| 4175 | + | |
4176 | 4176 | | |
4177 | 4177 | | |
4178 | 4178 | | |
| |||
4190 | 4190 | | |
4191 | 4191 | | |
4192 | 4192 | | |
4193 | | - | |
| 4193 | + | |
4194 | 4194 | | |
4195 | 4195 | | |
4196 | 4196 | | |
| |||
4262 | 4262 | | |
4263 | 4263 | | |
4264 | 4264 | | |
4265 | | - | |
| 4265 | + | |
4266 | 4266 | | |
4267 | 4267 | | |
4268 | 4268 | | |
| |||
0 commit comments