From: Geoffrey D. Bennett Date: Sun, 20 Jun 2021 16:46:25 +0000 (+0930) Subject: ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c5210f213456383482b4a77c5310282a89a106b5;p=linux.git ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count The 18i8 Gen 2 has 8 PCM Inputs, not 20. Fix the ports entry in s18i8_gen2_info. Signed-off-by: Geoffrey D. Bennett Link: https://lore.kernel.org/r/20210620164625.GA9165@m.b4.vu Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/mixer_scarlett_gen2.c b/sound/usb/mixer_scarlett_gen2.c index 962050436a9f6..e327f15b89ce9 100644 --- a/sound/usb/mixer_scarlett_gen2.c +++ b/sound/usb/mixer_scarlett_gen2.c @@ -358,7 +358,7 @@ static const struct scarlett2_device_info s18i8_gen2_info = { }, [SCARLETT2_PORT_TYPE_PCM] = { .id = 0x600, - .num = { 20, 18, 18, 14, 10 }, + .num = { 8, 18, 18, 14, 10 }, .src_descr = "PCM %d", .src_num_offset = 1, .dst_descr = "PCM %02d Capture"