Commit 4e13c7a5 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson
Browse files

clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags



Using PWRSTS_RET on msm8974's MDSS_GDSC causes display to stop working.
The gdsc doesn't fully come out of retention mode. Change it's pwrsts
flags to PWRSTS_OFF_ON.

Fixes: d3997239 ("clk: qcom: gdsc: Fix the handling of PWRSTS_RET support")
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarRajendra Nayak <quic_rjendra@quicinc.com>
Tested-by: default avatarLuca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230507175335.2321503-2-dmitry.baryshkov@linaro.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 097d359c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2384,7 +2384,7 @@ static struct gdsc mdss_gdsc = {
	.pd = {
		.name = "mdss",
	},
	.pwrsts = PWRSTS_RET_ON,
	.pwrsts = PWRSTS_OFF_ON,
};

static struct gdsc camss_jpeg_gdsc = {