aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2026-04-17 10:53:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-11 17:20:18 +0200
commitd0001adcd1f838d97bc23a20375f60bb3304aa5c (patch)
tree78d819508d8f0c3d9836d4b23d77464072c7ec60 /tools/perf/scripts/python/stackcollapse.py
parentffc3414d15c615bc0a46536343f917d8a5f14655 (diff)
serial: max310x: improve max310x_set_ref_clk() efficiency
The same basic code is duplicated for each of the four PLL multiplier values, so simplify and streamline it. Doing so allows us to avoid some unnecessary (fdiv * factor) multiplications for some fdiv values and replace the second "if" statement with an "else if" and avoid a useless comparison. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://patch.msgid.link/20260417-max310x-2-v1-5-b424e105ecac@dimonoff.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions