[PATCH] clk: sunxi-ng: mp: Avoid computing the rate twice
Jernej Škrabec
jernej.skrabec at gmail.com
Sun Aug 14 03:02:59 PDT 2022
Dne sreda, 10. avgust 2022 ob 03:40:24 CEST je Samuel Holland napisal(a):
> ccu_mp_find_best() already computes a best_rate at the same time as the
> best m and p factors. Return it so the caller does not need to duplicate
> the division.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec at gmail.com>
Other ccu_*_find_best() functions would also benefit with similar change.
Best regards,
Jernej
More information about the linux-arm-kernel
mailing list