diff options
author | Daniel Mack <zonque@gmail.com> | 2011-05-18 05:28:41 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-18 05:44:42 -0400 |
commit | 759e890f5c25ef087d866b330261e793b03ef7a4 (patch) | |
tree | dd3a640e17671edd60647e683ae82aba148a8662 /sound/usb | |
parent | ee95cb6121dae17bc199cd566503dff1b2dd243b (diff) |
ALSA: usb-audio: remove invalid extra mixers for Komplete Audio 6
This was a flaw in the reading of the spec tables - Native Instrument's
"Komplete Audio 6" device has no such extra controls.
This patch also fixes the device name in two comments.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer_quirks.c | 17 | ||||
-rw-r--r-- | sound/usb/quirks-table.h | 2 | ||||
-rw-r--r-- | sound/usb/quirks.c | 2 |
3 files changed, 2 insertions, 19 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 4a7ad7ed62f..73dcc8256bc 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c | |||
@@ -398,17 +398,6 @@ static int snd_nativeinstruments_control_put(struct snd_kcontrol *kcontrol, | |||
398 | return 0; | 398 | return 0; |
399 | } | 399 | } |
400 | 400 | ||
401 | static struct snd_kcontrol_new snd_nativeinstruments_ak6_mixers[] = { | ||
402 | { | ||
403 | .name = "Direct Monitor Channel 1+2", | ||
404 | .private_value = _MAKE_NI_CONTROL(0x03, 0x03), | ||
405 | }, | ||
406 | { | ||
407 | .name = "Direct Monitor Channel 3+4", | ||
408 | .private_value = _MAKE_NI_CONTROL(0x03, 0x05), | ||
409 | }, | ||
410 | }; | ||
411 | |||
412 | static struct snd_kcontrol_new snd_nativeinstruments_ta6_mixers[] = { | 401 | static struct snd_kcontrol_new snd_nativeinstruments_ta6_mixers[] = { |
413 | { | 402 | { |
414 | .name = "Direct Thru Channel A", | 403 | .name = "Direct Thru Channel A", |
@@ -537,12 +526,6 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer) | |||
537 | err = snd_xonar_u1_controls_create(mixer); | 526 | err = snd_xonar_u1_controls_create(mixer); |
538 | break; | 527 | break; |
539 | 528 | ||
540 | case USB_ID(0x17cc, 0x1001): /* Audio Kontrol 6 */ | ||
541 | err = snd_nativeinstruments_create_mixer(mixer, | ||
542 | snd_nativeinstruments_ak6_mixers, | ||
543 | ARRAY_SIZE(snd_nativeinstruments_ak6_mixers)); | ||
544 | break; | ||
545 | |||
546 | case USB_ID(0x17cc, 0x1011): /* Traktor Audio 6 */ | 529 | case USB_ID(0x17cc, 0x1011): /* Traktor Audio 6 */ |
547 | err = snd_nativeinstruments_create_mixer(mixer, | 530 | err = snd_nativeinstruments_create_mixer(mixer, |
548 | snd_nativeinstruments_ta6_mixers, | 531 | snd_nativeinstruments_ta6_mixers, |
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 54e18c181a1..5c1a176c426 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -2332,7 +2332,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2332 | 2332 | ||
2333 | /* Native Instruments MK2 series */ | 2333 | /* Native Instruments MK2 series */ |
2334 | { | 2334 | { |
2335 | /* Audio Kontrol 6 */ | 2335 | /* Komplete Audio 6 */ |
2336 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE, | 2336 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE, |
2337 | .idVendor = 0x17cc, | 2337 | .idVendor = 0x17cc, |
2338 | .idProduct = 0x1000, | 2338 | .idProduct = 0x1000, |
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 2452edd2f14..c1a5d7d4580 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c | |||
@@ -539,7 +539,7 @@ int snd_usb_apply_boot_quirk(struct usb_device *dev, | |||
539 | /* Access Music VirusTI Desktop */ | 539 | /* Access Music VirusTI Desktop */ |
540 | return snd_usb_accessmusic_boot_quirk(dev); | 540 | return snd_usb_accessmusic_boot_quirk(dev); |
541 | 541 | ||
542 | case USB_ID(0x17cc, 0x1000): /* Audio Kontrol 6 */ | 542 | case USB_ID(0x17cc, 0x1000): /* Komplete Audio 6 */ |
543 | case USB_ID(0x17cc, 0x1010): /* Traktor Audio 6 */ | 543 | case USB_ID(0x17cc, 0x1010): /* Traktor Audio 6 */ |
544 | case USB_ID(0x17cc, 0x1020): /* Traktor Audio 10 */ | 544 | case USB_ID(0x17cc, 0x1020): /* Traktor Audio 10 */ |
545 | return snd_usb_nativeinstruments_boot_quirk(dev); | 545 | return snd_usb_nativeinstruments_boot_quirk(dev); |