Skip to content

Commit be58e49

Browse files
xdarklightsuperna9999
authored andcommitted
clk: meson: meson8b: mark clk81 as critical
Disabling clk81 results in an immediate freeze of the whole system. This can happen "accidentally" when the last child-clock of clk81 is disabled (in this case the common clock framework also disables clk81, even if it was only enabled indirectly before). Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Acked-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]>
1 parent 96b61c8 commit be58e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/meson/meson8b.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ struct clk_gate meson8b_clk81 = {
399399
.ops = &clk_gate_ops,
400400
.parent_names = (const char *[]){ "mpeg_clk_div" },
401401
.num_parents = 1,
402-
.flags = (CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED),
402+
.flags = (CLK_SET_RATE_PARENT | CLK_IS_CRITICAL),
403403
},
404404
};
405405

0 commit comments

Comments
 (0)