Skip to contentSkip to conversation

ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count

PATCH New Geoffrey D. Bennett 1 participant 1 message Jun 20, 2021 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 2/14 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.

---
 sound/usb/mixer_scarlett_gen2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/mixer_scarlett_gen2.c +1 -1
index 962050436a9f..e327f15b89ce 100644
@@ -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"
Signature · 1 line
2.31.1