Skip to content

Commit

Permalink
clk: imx: Add CLK_IS_CRITICAL flag for busy divider and busy mux
Browse files Browse the repository at this point in the history
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 <ping.bai@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Bai Ping authored and Stephen Boyd committed Apr 6, 2018
1 parent 7928b2c commit 6f9575e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clk/imx/clk-busy.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct clk *imx_clk_busy_divider(const char *name, const char *parent_name,

init.name = name;
init.ops = &clk_busy_divider_ops;
init.flags = CLK_SET_RATE_PARENT;
init.flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL;
init.parent_names = &parent_name;
init.num_parents = 1;

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

init.name = name;
init.ops = &clk_busy_mux_ops;
init.flags = 0;
init.flags = CLK_IS_CRITICAL;
init.parent_names = parent_names;
init.num_parents = num_parents;

Expand Down

0 comments on commit 6f9575e

Please sign in to comment.