Skip to content

Commit 20e1d75

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: dispcc-sc8280xp: Use ret registers on GDSCs
The DISP_CC GDSCs have not been instructed to use the ret registers. Fix that. Fixes: 4a66e76 ("clk: qcom: Add SC8280XP display clock controller") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230725-topic-8280_dispcc_gdsc-v1-1-236590060531@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a9f71a0 commit 20e1d75

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/clk/qcom/dispcc-sc8280xp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,7 +3057,7 @@ static struct gdsc disp0_mdss_gdsc = {
30573057
.name = "disp0_mdss_gdsc",
30583058
},
30593059
.pwrsts = PWRSTS_OFF_ON,
3060-
.flags = HW_CTRL,
3060+
.flags = HW_CTRL | RETAIN_FF_ENABLE,
30613061
};
30623062

30633063
static struct gdsc disp1_mdss_gdsc = {
@@ -3069,7 +3069,7 @@ static struct gdsc disp1_mdss_gdsc = {
30693069
.name = "disp1_mdss_gdsc",
30703070
},
30713071
.pwrsts = PWRSTS_OFF_ON,
3072-
.flags = HW_CTRL,
3072+
.flags = HW_CTRL | RETAIN_FF_ENABLE,
30733073
};
30743074

30753075
static struct gdsc disp0_mdss_int2_gdsc = {
@@ -3081,7 +3081,7 @@ static struct gdsc disp0_mdss_int2_gdsc = {
30813081
.name = "disp0_mdss_int2_gdsc",
30823082
},
30833083
.pwrsts = PWRSTS_OFF_ON,
3084-
.flags = HW_CTRL,
3084+
.flags = HW_CTRL | RETAIN_FF_ENABLE,
30853085
};
30863086

30873087
static struct gdsc disp1_mdss_int2_gdsc = {
@@ -3093,7 +3093,7 @@ static struct gdsc disp1_mdss_int2_gdsc = {
30933093
.name = "disp1_mdss_int2_gdsc",
30943094
},
30953095
.pwrsts = PWRSTS_OFF_ON,
3096-
.flags = HW_CTRL,
3096+
.flags = HW_CTRL | RETAIN_FF_ENABLE,
30973097
};
30983098

30993099
static struct gdsc *disp0_cc_sc8280xp_gdscs[] = {

0 commit comments

Comments
 (0)