mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src
@ 2026-01-17 18:18 David Heidelberg via B4 Relay
  2026-01-21  2:35 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-01-17 18:18 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Jens Reidel,
	Dmitry Baryshkov, Konrad Dybcio
  Cc: linux-arm-msm, linux-clk, linux-kernel, phone-devel, David Heidelberg

From: David Heidelberg <david@ixit.cz>

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 <david@ixit.cz>
---
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 <david@ixit.cz>
---
 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 <david@ixit.cz>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src
  2026-01-17 18:18 [PATCH] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src David Heidelberg via B4 Relay
@ 2026-01-21  2:35 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2026-01-21  2:35 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Jens Reidel, Dmitry Baryshkov,
	Konrad Dybcio, David Heidelberg
  Cc: linux-arm-msm, linux-clk, linux-kernel, phone-devel


On Sat, 17 Jan 2026 19:18:28 +0100, David Heidelberg wrote:
> Set CLK_OPS_PARENT_ENABLE to ensure the parent gets prepared and enabled
> when switching to it.
> 
> 

Applied, thanks!

[1/1] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src
      commit: fab13d738c9bd645965464b881335f580d38a54e

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-21  2:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-17 18:18 [PATCH] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src David Heidelberg via B4 Relay
2026-01-21  2:35 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®