diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2023-10-27 04:36:16 +1030 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-10-27 11:23:02 +0200 |
commit | 2190b9aea4eb92ccf3176e35c17c959e40f1a81b (patch) | |
tree | 1ca1846b8e2fc1d398cc454bf21c99d2b7682d49 /tools/perf/scripts/python/task-analyzer.py | |
parent | 701949cc01283675054636f741f505f2627454b7 (diff) |
ALSA: scarlett2: Allow passing any output to line_out_remap()
Line outputs 3 & 4 on the Gen 3 18i8 are internally the analogue 7 and
8 outputs, and this renumbering is hidden from the user by
line_out_remap(). By allowing higher values (representing non-analogue
outputs) to be passed to line_out_remap(), repeated code from
scarlett2_mux_src_enum_ctl_get() and scarlett2_mux_src_enum_ctl_put()
can be removed.
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/3b70267931f5994628ab27306c73cddd17b93c8f.1698342632.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions