mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge branch 'clk-helpers' (early part) into clk-fixes
* 'clk-helpers' (early part): clk: fix determine rate error with pass-through clock
This commit is contained in:
commit
56e1ee3539
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue