From: David Heidelberg <[email protected]>

Set CLK_OPS_PARENT_ENABLE to ensure the parent gets prepared and enabled
when switching to it.

Fixes: e3c13e0caa8c ("clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk0_clk_src")
Signed-off-by: David Heidelberg <[email protected]>
---
I would call it more addition than fix regarding to how the commit is
named, but generally both pclk0 and pclk1 should receive this flag.

Feel free to drop the Fixes tag.

Signed-off-by: David Heidelberg <[email protected]>
---
 drivers/clk/qcom/dispcc-sm7150.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/dispcc-sm7150.c b/drivers/clk/qcom/dispcc-sm7150.c
index 811d380a8e9f9..ed8e34ffd69b0 100644
--- a/drivers/clk/qcom/dispcc-sm7150.c
+++ b/drivers/clk/qcom/dispcc-sm7150.c
@@ -371,7 +371,7 @@ static struct clk_rcg2 dispcc_mdss_pclk1_clk_src = {
                .name = "dispcc_mdss_pclk1_clk_src",
                .parent_data = dispcc_parent_data_4,
                .num_parents = ARRAY_SIZE(dispcc_parent_data_4),
-               .flags = CLK_SET_RATE_PARENT,
+               .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
                .ops = &clk_pixel_ops,
        },
 };

---
base-commit: 46fe65a2c28ecf5df1a7475aba1f08ccf4c0ac1b
change-id: 20260117-sm7150-dispcc-fix-62f062bd20e4

Best regards,
-- 
David Heidelberg <[email protected]>



Reply via email to