diff options
author | Rajkumar Kasirajan <rkasirajan@nvidia.com> | 2022-04-06 18:17:01 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-05-04 12:30:51 +0300 |
commit | 6a7ace2b99706a17b3f38e0114172abaeb00f240 (patch) | |
tree | 6e3888ddcd0ca4af69fc5bca8ad12ca367d9ba7c /scripts/gdb/linux/utils.py | |
parent | 2db12b15c6f3e41ae2f2b3bb15627f28d1eaf715 (diff) | |
download | linux-6a7ace2b99706a17b3f38e0114172abaeb00f240.tar.xz |
clk: tegra: Replace .round_rate() with .determine_rate()
Replace the .round_rate() callback with .determine_rate() which can
consider max_rate imposed by clk_set_max_rate() while rounding the clock
rate.
Note that if the .determine_rate() callback is defined it will be called
instead of the .round_rate() callback when calling clk_round_rate(). By
using .determine_rate(), the maximum rate returned when calling
clk_round_rate() is now limited by the current max_rate.
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
[jonathanh@nvidia.com: checkpatch fixes and commit message update]
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions