ALSA: scarlett2: Add support for DSP mux channels
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:08:34 +0000 (04:38 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:13 +0000 (15:52 +0100)
commit166e1dfb752665226ab482b62a94c274ec2dea17
treeb4e7c923c61942dc368f46bb27b3e966666bed4f
parentc6c9f0cf9dba7e86f1f6cca658bb6b86c5d02530
ALSA: scarlett2: Add support for DSP mux channels

The DSP mux channels in the Scarlett 4th Gen appear as
SCARLETT2_PORT_TYPE_MIX ports but do not have corresponding mixer
controls. Add a dsp_count option to the device info struct to exclude
those DSP channels from the num_mix_in/num_mix_out counts.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/b78bdb1a7624d55783f5bf0e1ffbfa47a9e9a800.1703612638.git.g@b4.vu
sound/usb/mixer_scarlett2.c