Messages in this thread | | | From | Jernej Škrabec <> | Subject | Re: [PATCH] clk: sunxi-ng: mp: Avoid computing the rate twice | Date | Sun, 14 Aug 2022 12:02:59 +0200 |
| |
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@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Other ccu_*_find_best() functions would also benefit with similar change.
Best regards, Jernej
| |