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: Mark Roberts <sunifiram@gmail.com>
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Chris J Arges 2014-12-17 16:09:35 -06:00 коммит произвёл Takashi Iwai
Родитель 7327643ba1
Коммит c99b9e853d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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" },