diff options
| author | Geoffrey D. Bennett <[email protected]> | 2023-12-25 05:58:38 +1030 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-12-29 15:41:23 +0100 |
| commit | 42caae0e20323af7c5b41ac089798f5590b54845 (patch) | |
| tree | 74892613668cc0c0388aca58026c22207b0fe9df /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e5fab78cd8e867b2201eadabe4871100881e2a64 (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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions