Commit ca502fc6 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
parent db8f5086
......@@ -1055,12 +1055,12 @@ static void clk_core_disable(struct clk_core *core)
if (--core->enable_count > 0)
return;
trace_clk_disable_rcuidle(core);
trace_clk_disable(core);
if (core->ops->disable)
core->ops->disable(core->hw);
trace_clk_disable_complete_rcuidle(core);
trace_clk_disable_complete(core);
clk_core_disable(core->parent);
}
......@@ -1114,12 +1114,12 @@ static int clk_core_enable(struct clk_core *core)
if (ret)
return ret;
trace_clk_enable_rcuidle(core);
trace_clk_enable(core);
if (core->ops->enable)
ret = core->ops->enable(core->hw);
trace_clk_enable_complete_rcuidle(core);
trace_clk_enable_complete(core);
if (ret) {
clk_core_disable(core->parent);
......
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