diff options
| author | 2026-01-08 16:16:25 -0500 | |
|---|---|---|
| committer | 2026-01-22 10:48:25 -0500 | |
| commit | 463b97bef0c9fb02b743d6b9f0d698cae81a1d9f (patch) | |
| tree | aaa471e76d7893815f8fa7f9139e01b1b66beaf1 /include/linux/clk/ssh:/git@git.zx2c4.com | |
| parent | clk: bm1880: convert from divider_ro_round_rate() to divider_ro_determine_rate() (diff) | |
clk: bm1880: convert from divider_round_rate() to divider_determine_rate()
The divider_round_rate() function is now deprecated, so let's migrate
to divider_determine_rate() instead so that this deprecated API can be
removed.
Note that when the main function itself was migrated to use
determine_rate, this was mistakenly converted to:
req->rate = divider_round_rate(...)
This is invalid in the case when an error occurs since it can set the
rate to a negative value.
Fixes: 64613d7fb42f ("clk: bm1880: convert from round_rate() to determine_rate()")
Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
