Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk0_clk_src

Set CLK_OPS_PARENT_ENABLE to ensure the parent gets prepared and enabled
when switching to it, fixing an "rcg didn't update its configuration"
warning.

Signed-off-by: Jens Reidel <adrian@mainlining.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250919-sm7150-dispcc-fixes-v1-3-308ad47c5fce@mainlining.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Jens Reidel and committed by
Bjorn Andersson
e3c13e0c 176465fd

+1 -1
+1 -1
drivers/clk/qcom/dispcc-sm7150.c
··· 357 357 .name = "dispcc_mdss_pclk0_clk_src", 358 358 .parent_data = dispcc_parent_data_4, 359 359 .num_parents = ARRAY_SIZE(dispcc_parent_data_4), 360 - .flags = CLK_SET_RATE_PARENT, 360 + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, 361 361 .ops = &clk_pixel_ops, 362 362 }, 363 363 };