summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-11-21 13:50:40 +0100
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-12-11 11:36:15 +0100
commitb74cac09c009bd797da0dedd84415c4c9f586201 (patch)
tree921a12aaa107ba83a2f0367885e5ee18de5243d5 /tools/perf/scripts/python/export-to-sqlite.py
parentb77f0c305ad7edba8274641bcd7fc67995a561e6 (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/20231121125044.78642-17-angelogioacchino.delregno@collabora.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions