diff options
author | 2022-12-31 11:30:55 -0600 | |
---|---|---|
committer | 2023-01-08 21:55:17 +0100 | |
commit | 657f477a89acb25ba34414ac84a51a32c5013d7b (patch) | |
tree | 6d30cf0d99dde71e57b64ab9c8e6f6ea5b75f6dd /tools/perf/scripts/python | |
parent | clk: sunxi-ng: h3/h5: Model H3 CLK_DRAM as a fixed clock (diff) | |
download | wireguard-linux-657f477a89acb25ba34414ac84a51a32c5013d7b.tar.xz wireguard-linux-657f477a89acb25ba34414ac84a51a32c5013d7b.zip |
clk: sunxi-ng: Avoid computing the rate twice
The ccu_*_find_best() functions already compute a best_rate at the same
time as the other factors. Return this value so the caller does not need
to duplicate the computation.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20221231173055.42384-1-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions