Commit ec189392 authored by Anson Huang's avatar Anson Huang Committed by Stephen Boyd

clk: imx: cpu clock should be always critical

Add CLK_IS_CRITICAL flag for cpu clock type to
make cpu clock use count correct, as cpu clock
should be always critical.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent febb6548
...@@ -94,7 +94,7 @@ struct clk *imx_clk_cpu(const char *name, const char *parent_name, ...@@ -94,7 +94,7 @@ struct clk *imx_clk_cpu(const char *name, const char *parent_name,
init.name = name; init.name = name;
init.ops = &clk_cpu_ops; init.ops = &clk_cpu_ops;
init.flags = 0; init.flags = CLK_IS_CRITICAL;
init.parent_names = &parent_name; init.parent_names = &parent_name;
init.num_parents = 1; init.num_parents = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment