summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-01-08 16:16:35 -0500
committerBrian Masney <bmasney@redhat.com>2026-01-22 10:48:26 -0500
commit77b04dc19693510ce8ed1c6eda5f5b833e208816 (patch)
tree3767917788cc0826f2bda41a24ad8d2f5f758225 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentaf943663ccc266e6346e5645b13c0fca71d24395 (diff)
clk: sophgo: sg2042-clkgen: 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. Note that this commit also removes a debugging message that's not really needed. Fixes: 9a3b6993613d ("clk: sophgo: sg2042-clkgen: convert from round_rate() to determine_rate()") Tested-by: Chen Wang <unicorn_wang@outlook.com> Reviewed-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions