Skip to content

Commit c01f85d

Browse files
committed
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 <[email protected]>
1 parent df2a8bf commit c01f85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/dispcc-sm7150.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ static struct clk_rcg2 dispcc_mdss_pclk0_clk_src = {
356356
.name = "dispcc_mdss_pclk0_clk_src",
357357
.parent_data = dispcc_parent_data_4,
358358
.num_parents = ARRAY_SIZE(dispcc_parent_data_4),
359-
.flags = CLK_SET_RATE_PARENT,
359+
.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE | CLK_GET_RATE_NOCACHE,
360360
.ops = &clk_pixel_ops,
361361
},
362362
};

0 commit comments

Comments
 (0)