Skip to content

Commit 56e1ee3

Browse files
committed
Merge branch 'clk-helpers' (early part) into clk-fixes
* 'clk-helpers' (early part): clk: fix determine rate error with pass-through clock
2 parents 91584eb + 04bf9ab commit 56e1ee3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/clk/clk.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,8 +1125,10 @@ static int clk_core_round_rate_nolock(struct clk_core *core,
11251125
{
11261126
lockdep_assert_held(&prepare_lock);
11271127

1128-
if (!core)
1128+
if (!core) {
1129+
req->rate = 0;
11291130
return 0;
1131+
}
11301132

11311133
clk_core_init_rate_req(core, req);
11321134

0 commit comments

Comments
 (0)