aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <[email protected]>2023-12-25 05:58:38 +1030
committerTakashi Iwai <[email protected]>2023-12-29 15:41:23 +0100
commit42caae0e20323af7c5b41ac089798f5590b54845 (patch)
tree74892613668cc0c0388aca58026c22207b0fe9df /tools/perf/scripts/python/task-analyzer.py
parente5fab78cd8e867b2201eadabe4871100881e2a64 (diff)
ALSA: scarlett2: Refactor common port_count lookups
Rather than looking up the analogue and mixer I/O counts repeatedly in info->port_count[SCARLETT2_PORT_TYPE_*][SCARLETT2_PORT_*], save those numbers in private variables. Signed-off-by: Geoffrey D. Bennett <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions