Skip to content

Commit 6f9575e

Browse files
JackyBaibebarino
authored andcommitted
clk: imx: Add CLK_IS_CRITICAL flag for busy divider and busy mux
The busy divider and busy mux is actually used by the system critical clocks, so add 'CLK_IS_CRITICAL' to clocks registered with these two type. Signed-off-by: Bai Ping <[email protected]> Acked-by: Dong Aisheng <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 7928b2c commit 6f9575e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/imx/clk-busy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct clk *imx_clk_busy_divider(const char *name, const char *parent_name,
101101

102102
init.name = name;
103103
init.ops = &clk_busy_divider_ops;
104-
init.flags = CLK_SET_RATE_PARENT;
104+
init.flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL;
105105
init.parent_names = &parent_name;
106106
init.num_parents = 1;
107107

@@ -175,7 +175,7 @@ struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift,
175175

176176
init.name = name;
177177
init.ops = &clk_busy_mux_ops;
178-
init.flags = 0;
178+
init.flags = CLK_IS_CRITICAL;
179179
init.parent_names = parent_names;
180180
init.num_parents = num_parents;
181181

0 commit comments

Comments
 (0)