aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2023-01-14 15:34:58 -0800
committerStephen Boyd <[email protected]>2023-01-18 10:49:48 -0800
commit3ed741db04f58e8df0d46cec7ecfc4bfd075f047 (patch)
treecc92f69c1ae777f1da674720c36462a5dbe1bfe9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
clk: vc5: Use `clamp()` to restrict PLL range
The VCO frequency needs to be within a certain range and the driver enforces this. Make use of the clamp macro to implement this instead of open-coding it. This makes the code a bit shorter and also semanticly stronger. Signed-off-by: Lars-Peter Clausen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Luca Ceresoli <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions