Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c99b9e85 authored by Chris J Arges's avatar Chris J Arges Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Fix Scarlett 6i6 initialization typo



The num_controls field was incorrectly set to 0 causing 6i6 to not be
initialized. Set this to 9.

Reported-and-tested-by: default avatarMark Roberts <sunifiram@gmail.com>
Signed-off-by: default avatarChris J Arges <chris.j.arges@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7327643b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -655,7 +655,7 @@ static struct scarlett_device_info s6i6_info = {
		.names = NULL
	},

	.num_controls = 0,
	.num_controls = 9,
	.controls = {
		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" },