Commit 56e1ee35 authored by Stephen Boyd's avatar Stephen Boyd

Merge branch 'clk-helpers' (early part) into clk-fixes

* 'clk-helpers' (early part):
  clk: fix determine rate error with pass-through clock
parents 91584eb5 04bf9ab3
......@@ -1125,8 +1125,10 @@ static int clk_core_round_rate_nolock(struct clk_core *core,
{
lockdep_assert_held(&prepare_lock);
if (!core)
if (!core) {
req->rate = 0;
return 0;
}
clk_core_init_rate_req(core, req);
......
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