diff options
author | Chris J Arges <chris.j.arges@canonical.com> | 2014-12-17 17:09:35 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-18 02:39:17 -0500 |
commit | c99b9e853d3951fe521cc7b2357eec93d5c16246 (patch) | |
tree | 5fc5ffafe66fab707919ff7915fd76e5aa7fa24a /sound/usb | |
parent | 7327643ba1586546a082a0f3ffbd2095ccce089e (diff) |
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>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer_scarlett.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer_scarlett.c b/sound/usb/mixer_scarlett.c index 9109652b88b9..7438e7c4a842 100644 --- a/sound/usb/mixer_scarlett.c +++ b/sound/usb/mixer_scarlett.c | |||
@@ -655,7 +655,7 @@ static struct scarlett_device_info s6i6_info = { | |||
655 | .names = NULL | 655 | .names = NULL |
656 | }, | 656 | }, |
657 | 657 | ||
658 | .num_controls = 0, | 658 | .num_controls = 9, |
659 | .controls = { | 659 | .controls = { |
660 | { .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" }, | 660 | { .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" }, |
661 | { .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" }, | 661 | { .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" }, |