[PATCH v2 10/11] clk: qcom: camcc-sc8180x: Add missing HW_CTRL GDSC flag
From: Val Packett
Date: Thu Mar 12 2026 - 07:36:04 EST
In all other Qualcomm SoC camcc drivers, the BPS and IPE GDSCs use the
HW_CTRL flag, but it was missing on SC8180X.
Fix by setting it on all applicable GDSC entries.
Fixes: 691f3413baa4 ("clk: qcom: camcc-sc8180x: Add SC8180X camera clock controller driver")
Signed-off-by: Val Packett <val@xxxxxxxxxxxx>
---
drivers/clk/qcom/camcc-sc8180x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/qcom/camcc-sc8180x.c b/drivers/clk/qcom/camcc-sc8180x.c
index cd4c40a81c28..67b2055bd212 100644
--- a/drivers/clk/qcom/camcc-sc8180x.c
+++ b/drivers/clk/qcom/camcc-sc8180x.c
@@ -2555,7 +2555,7 @@ static struct gdsc bps_gdsc = {
},
.pwrsts = PWRSTS_OFF_ON,
.parent = &titan_top_gdsc.pd,
- .flags = POLL_CFG_GDSCR,
+ .flags = HW_CTRL | POLL_CFG_GDSCR,
};
static struct gdsc ife_0_gdsc = {
@@ -2620,7 +2620,7 @@ static struct gdsc ipe_0_gdsc = {
},
.pwrsts = PWRSTS_OFF_ON,
.parent = &titan_top_gdsc.pd,
- .flags = POLL_CFG_GDSCR,
+ .flags = HW_CTRL | POLL_CFG_GDSCR,
};
static struct gdsc ipe_1_gdsc = {
@@ -2633,7 +2633,7 @@ static struct gdsc ipe_1_gdsc = {
},
.pwrsts = PWRSTS_OFF_ON,
.parent = &titan_top_gdsc.pd,
- .flags = POLL_CFG_GDSCR,
+ .flags = HW_CTRL | POLL_CFG_GDSCR,
};
static struct clk_regmap *cam_cc_sc8180x_clocks[] = {
--
2.52.0