Re: [PATCH 1/1] clk: composite: Fix 'switching' to same clock

From: Stephen Boyd
Date: Wed Nov 03 2021 - 20:50:24 EST


Quoting Alexander Stein (2021-11-03 05:24:41)
> During commit 6594988fd625 ("clk: composite: Use rate_ops.determine_rate
> when also a mux is available") setting req->best_parent_hw got lost,
> so best_parent_hw stays NULL during switch to the same parent. This
> results in the (debug) message:
> clk_calc_new_rates: lcdif_pixel not gated but wants to reparent
> and the following rate change is dropped.
>
> Fixes: 6594988fd625 ("clk: composite: Use rate_ops.determine_rate when also a mux is available")
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> ---

Applied to clk-next