diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-08-16 14:25:19 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-09-15 19:31:25 +0300 |
commit | 718af795d3fd786928506cd5251597fbe29c7fda (patch) | |
tree | afc70195e91f020ad04f16e05b7de33e60517739 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cb1b1dd96241f37ea41d241946d5153c48141cd5 (diff) | |
download | linux-718af795d3fd786928506cd5251597fbe29c7fda.tar.xz |
clk: Change clk_core_init_rate_req prototype
The expectation is that a clk_rate_request structure is supposed to be
initialized using clk_core_init_rate_req(), yet the rate we want to
request still needs to be set by hand.
Let's just pass the rate as a function argument so that callers don't
have any extra work to do.
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx8mp
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> # exynos4210, meson g12b
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220816112530.1837489-15-maxime@cerno.tech
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions