diff options
| author | Brian Masney <bmasney@redhat.com> | 2026-01-08 16:16:32 -0500 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-01-09 12:55:37 -0600 |
| commit | e1f08613e113f02a3ec18c9a7964de97f940acbf (patch) | |
| tree | 2be0dc4be547e9b35d88f059b6b2ecb0e5fb33d1 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 685ec348339b118bec728458d0bc3b3e7da1ef0d (diff) | |
clk: qcom: alpha-pll: 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: 0e56e3369b60 ("clk: qcom: alpha-pll: convert from round_rate() to determine_rate()")
Signed-off-by: Brian Masney <bmasney@redhat.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260108-clk-divider-round-rate-v1-14-535a3ed73bf3@redhat.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
