mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
clk: Fix best_parent_rate after moving code into a separate function
best_parent_rate entry is still being used in the code and needs to be
always updated regardless of the CLK_SET_RATE_NO_REPARENT flag.
Fixes: 1b4e99fda7
("clk: Move no reparent case into a separate function")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20230613131631.270192-1-m.szyprowski@samsung.com
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
326cc42f9f
commit
be8fa5fd0a
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ clk_core_determine_rate_no_reparent(struct clk_hw *hw,
|
|||
best = clk_core_get_rate_nolock(core);
|
||||
}
|
||||
|
||||
req->best_parent_rate = best;
|
||||
req->rate = best;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue