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

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.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 097d359c
...@@ -2384,7 +2384,7 @@ static struct gdsc mdss_gdsc = { ...@@ -2384,7 +2384,7 @@ static struct gdsc mdss_gdsc = {
.pd = { .pd = {
.name = "mdss", .name = "mdss",
}, },
.pwrsts = PWRSTS_RET_ON, .pwrsts = PWRSTS_OFF_ON,
}; };
static struct gdsc camss_jpeg_gdsc = { static struct gdsc camss_jpeg_gdsc = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment