summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <g@b4.vu>2021-06-27 22:52:26 +0930
committerTakashi Iwai <tiwai@suse.de>2021-07-01 08:34:28 +0200
commitfe9a23a6cc175cb47f536f596074bd1052c42de5 (patch)
tree017abeab5d57a4e9626e104da8313aa60a61f9e6 /sound
parent498386d1c4d98a72db7a2f51473593ad563b45ae (diff)
downloadlinux-fe9a23a6cc175cb47f536f596074bd1052c42de5.tar.bz2
ALSA: scarlett2: Fix pad count for 18i8 Gen 3
The 18i8 Gen 3 has 4 inputs with a pad control, not 2. Update s18i8_gen3_info.pad_input_count. Reported-by: Aaron Wolf <aaron@wolftune.com> Tested-by: Aaron Wolf <aaron@wolftune.com> Signed-off-by: Geoffrey D. Bennett <g@b4.vu> Link: https://lore.kernel.org/r/29a6ce412a42373daab7c96c395560461fcf08c6.1624798436.git.g@b4.vu Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/mixer_scarlett_gen2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer_scarlett_gen2.c b/sound/usb/mixer_scarlett_gen2.c
index fcba682cd422..a6387d5c1888 100644
--- a/sound/usb/mixer_scarlett_gen2.c
+++ b/sound/usb/mixer_scarlett_gen2.c
@@ -702,7 +702,7 @@ static const struct scarlett2_device_info s18i8_gen3_info = {
.line_out_hw_vol = 1,
.has_speaker_switching = 1,
.level_input_count = 2,
- .pad_input_count = 2,
+ .pad_input_count = 4,
.air_input_count = 4,
.phantom_count = 2,
.inputs_per_phantom = 2,