Merge commit 'f17a0dd1c2e0' into clk-next
This commit is contained in:
commit
071a0cb66c
|
@ -688,12 +688,12 @@ static void clk_core_disable(struct clk_core *core)
|
||||||
if (--core->enable_count > 0)
|
if (--core->enable_count > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
trace_clk_disable(core);
|
trace_clk_disable_rcuidle(core);
|
||||||
|
|
||||||
if (core->ops->disable)
|
if (core->ops->disable)
|
||||||
core->ops->disable(core->hw);
|
core->ops->disable(core->hw);
|
||||||
|
|
||||||
trace_clk_disable_complete(core);
|
trace_clk_disable_complete_rcuidle(core);
|
||||||
|
|
||||||
clk_core_disable(core->parent);
|
clk_core_disable(core->parent);
|
||||||
}
|
}
|
||||||
|
@ -741,12 +741,12 @@ static int clk_core_enable(struct clk_core *core)
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
trace_clk_enable(core);
|
trace_clk_enable_rcuidle(core);
|
||||||
|
|
||||||
if (core->ops->enable)
|
if (core->ops->enable)
|
||||||
ret = core->ops->enable(core->hw);
|
ret = core->ops->enable(core->hw);
|
||||||
|
|
||||||
trace_clk_enable_complete(core);
|
trace_clk_enable_complete_rcuidle(core);
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
clk_core_disable(core->parent);
|
clk_core_disable(core->parent);
|
||||||
|
|
Loading…
Reference in New Issue