diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2023-12-24 22:28:38 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-12-29 17:41:23 +0300 |
commit | 42caae0e20323af7c5b41ac089798f5590b54845 (patch) | |
tree | 74892613668cc0c0388aca58026c22207b0fe9df /scripts/lib/kdoc/kdoc_files.py | |
parent | e5fab78cd8e867b2201eadabe4871100881e2a64 (diff) | |
download | linux-42caae0e20323af7c5b41ac089798f5590b54845.tar.xz |
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 <g@b4.vu>
Link: https://lore.kernel.org/r/db0a5b56bdff476e2e31ad8e5ee15008314412b7.1703444932.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions