]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: qcom: gcc-x1e80100: Do not turn off usb_2 controller GDSC
authorAbel Vesa <abel.vesa@linaro.org>
Tue, 7 Jan 2025 15:55:23 +0000 (17:55 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 7 Jan 2025 16:40:04 +0000 (10:40 -0600)
commitd26c4ad3fa53e76a602a9974ade171c8399f2a29
tree4a7f985b513180d3a831fc9c4461b1ce5e37a388
parentd966ee051ebf97e973ea9e84a7f98ab1906510a2
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>
drivers/clk/qcom/gcc-x1e80100.c