diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2023-11-21 13:50:40 +0100 |
|---|---|---|
| committer | AngeloGioacchino Del Regno <[email protected]> | 2023-12-11 11:36:15 +0100 |
| commit | b74cac09c009bd797da0dedd84415c4c9f586201 (patch) | |
| tree | 921a12aaa107ba83a2f0367885e5ee18de5243d5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | b77f0c305ad7edba8274641bcd7fc67995a561e6 (diff) | |
soc: mediatek: mtk-svs: Check if SVS mode is available in the beginning
The svs_init01() and svs_init02() functions are already checking if the
INIT01 and INIT02 modes are available - but that's done in for loops and
for each SVS bank.
Give those a shortcut to get out early if no SVS bank features the
desired init mode: this is especially done to avoid some locking in
the svs_init01(), but also to avoid multiple for loops to check the
same, when no bank supports a specific mode.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions