Skip to content

Commit 4aca7e9

Browse files
chuan-amljbrun3t
authored andcommitted
clk: amlogic: remove potentially unsafe flags from S4 video clocks
The video clocks enci, encp, vdac and hdmitx share the same clock source. Adding CLK_SET_RATE_PARENT to the mux may unintentionally change the shared parent clock, which could affect other video clocks. Signed-off-by: Chuan Liu <chuan.liu@amlogic.com> Link: https://lore.kernel.org/r/20250919-add_video_clk-v6-3-fe223161fb3f@amlogic.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
1 parent c78c9db commit 4aca7e9

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/clk/meson/s4-peripherals.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,6 @@ static struct clk_regmap s4_cts_enci_sel = {
11071107
.ops = &clk_regmap_mux_ops,
11081108
.parent_hws = s4_cts_parents,
11091109
.num_parents = ARRAY_SIZE(s4_cts_parents),
1110-
.flags = CLK_SET_RATE_PARENT,
11111110
},
11121111
};
11131112

@@ -1123,7 +1122,6 @@ static struct clk_regmap s4_cts_encp_sel = {
11231122
.ops = &clk_regmap_mux_ops,
11241123
.parent_hws = s4_cts_parents,
11251124
.num_parents = ARRAY_SIZE(s4_cts_parents),
1126-
.flags = CLK_SET_RATE_PARENT,
11271125
},
11281126
};
11291127

@@ -1154,7 +1152,6 @@ static struct clk_regmap s4_cts_vdac_sel = {
11541152
.ops = &clk_regmap_mux_ops,
11551153
.parent_hws = s4_cts_parents,
11561154
.num_parents = ARRAY_SIZE(s4_cts_parents),
1157-
.flags = CLK_SET_RATE_PARENT,
11581155
},
11591156
};
11601157

@@ -1185,7 +1182,6 @@ static struct clk_regmap s4_hdmi_tx_sel = {
11851182
.ops = &clk_regmap_mux_ops,
11861183
.parent_hws = s4_hdmi_tx_parents,
11871184
.num_parents = ARRAY_SIZE(s4_hdmi_tx_parents),
1188-
.flags = CLK_SET_RATE_PARENT,
11891185
},
11901186
};
11911187

0 commit comments

Comments
 (0)