From: Geoffrey D. Bennett Date: Sun, 27 Jun 2021 13:22:26 +0000 (+0930) Subject: ALSA: scarlett2: Fix pad count for 18i8 Gen 3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe9a23a6cc175cb47f536f596074bd1052c42de5;p=linux.git 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 Tested-by: Aaron Wolf Signed-off-by: Geoffrey D. Bennett Link: https://lore.kernel.org/r/29a6ce412a42373daab7c96c395560461fcf08c6.1624798436.git.g@b4.vu Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/mixer_scarlett_gen2.c b/sound/usb/mixer_scarlett_gen2.c index fcba682cd422d..a6387d5c1888d 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,