diff options
| author | Maxime Ripard <[email protected]> | 2022-08-16 11:25:21 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-09-15 16:31:40 +0000 |
| commit | c35e84b0977617f96fb1dbef3fb8d71a861325c0 (patch) | |
| tree | e3a7e0ffb255047aebc220eb8db47caa6a96ac31 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | clk: Move clk_core_init_rate_req() from clk_core_round_rate_nolock() to its c... (diff) | |
| download | kernel-c35e84b0977617f96fb1dbef3fb8d71a861325c0.tar.gz kernel-c35e84b0977617f96fb1dbef3fb8d71a861325c0.zip | |
clk: Introduce clk_hw_init_rate_request()
clk-divider instantiates clk_rate_request internally for its round_rate
implementations to share the code with its determine_rate
implementations.
However, it's missing a few fields (min_rate, max_rate) that would be
initialized properly if it was using clk_core_init_rate_req().
Let's create the clk_hw_init_rate_request() function for clock providers
to be able to share the code to instation clk_rate_requests with the
framework. This will also be useful for some tests introduced in later
patches.
Tested-by: Alexander Stein <[email protected]> # imx8mp
Tested-by: Marek Szyprowski <[email protected]> # exynos4210, meson g12b
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
