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

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: d399723950c4 ("clk: qcom: gdsc: Fix the handling of PWRSTS_RET support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Rajendra Nayak <quic_rjendra@quicinc.com>
Tested-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230507175335.2321503-2-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
4e13c7a5 097d359c

+1 -1
+1 -1
drivers/clk/qcom/mmcc-msm8974.c
··· 2384 2384 .pd = { 2385 2385 .name = "mdss", 2386 2386 }, 2387 - .pwrsts = PWRSTS_RET_ON, 2387 + .pwrsts = PWRSTS_OFF_ON, 2388 2388 }; 2389 2389 2390 2390 static struct gdsc camss_jpeg_gdsc = {