diff options
| author | Maxime Ripard <[email protected]> | 2022-08-16 11:25:24 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-09-15 16:31:58 +0000 |
| commit | 1234a2c40b8cf16041fb9acd730160e6c5b4ba13 (patch) | |
| tree | c167dbf4381d5d31b67e148ecf0d19b7877c0869 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | clk: Switch from __clk_determine_rate to clk_core_round_rate_nolock (diff) | |
| download | kernel-1234a2c40b8cf16041fb9acd730160e6c5b4ba13.tar.gz kernel-1234a2c40b8cf16041fb9acd730160e6c5b4ba13.zip | |
clk: Introduce clk_core_has_parent()
We will need to know if a clk_core pointer has a given parent in other
functions, so let's create a clk_core_has_parent() function that
clk_has_parent() will call into.
For good measure, let's add some unit tests as well to make sure it
works properly.
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]>
[[email protected]: Move tmp declaration, fix conditional to check for
current parent]
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
