Skip to content

Commit 8ae8524

Browse files
valpackettgregkh
authored andcommitted
clk: qcom: dispcc-sm8250: Enable parents for pixel clocks
[ Upstream commit acf7a91 ] Add CLK_OPS_PARENT_ENABLE to MDSS pixel clock sources to ensure parent clocks are enabled during clock operations, preventing potential stability issues during display configuration. Fixes: 80a18f4 ("clk: qcom: Add display clock controller driver for SM8150 and SM8250") Signed-off-by: Val Packett <val@packett.cool> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260312112321.370983-9-val@packett.cool Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d7f633f commit 8ae8524

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/qcom/dispcc-sm8250.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk0_clk_src = {
578578
.name = "disp_cc_mdss_pclk0_clk_src",
579579
.parent_data = disp_cc_parent_data_6,
580580
.num_parents = ARRAY_SIZE(disp_cc_parent_data_6),
581-
.flags = CLK_SET_RATE_PARENT,
581+
.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
582582
.ops = &clk_pixel_ops,
583583
},
584584
};
@@ -592,7 +592,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk1_clk_src = {
592592
.name = "disp_cc_mdss_pclk1_clk_src",
593593
.parent_data = disp_cc_parent_data_6,
594594
.num_parents = ARRAY_SIZE(disp_cc_parent_data_6),
595-
.flags = CLK_SET_RATE_PARENT,
595+
.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
596596
.ops = &clk_pixel_ops,
597597
},
598598
};

0 commit comments

Comments
 (0)