Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248185
b: refs/heads/master
c: 759e890
h: refs/heads/master
i:
  248183: 0501737
v: v3
  • Loading branch information
Daniel Mack authored and Takashi Iwai committed May 18, 2011
1 parent fe0c1ba commit fc25ca4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee95cb6121dae17bc199cd566503dff1b2dd243b
refs/heads/master: 759e890f5c25ef087d866b330261e793b03ef7a4
17 changes: 0 additions & 17 deletions trunk/sound/usb/mixer_quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,17 +398,6 @@ static int snd_nativeinstruments_control_put(struct snd_kcontrol *kcontrol,
return 0;
}

static struct snd_kcontrol_new snd_nativeinstruments_ak6_mixers[] = {
{
.name = "Direct Monitor Channel 1+2",
.private_value = _MAKE_NI_CONTROL(0x03, 0x03),
},
{
.name = "Direct Monitor Channel 3+4",
.private_value = _MAKE_NI_CONTROL(0x03, 0x05),
},
};

static struct snd_kcontrol_new snd_nativeinstruments_ta6_mixers[] = {
{
.name = "Direct Thru Channel A",
Expand Down Expand Up @@ -537,12 +526,6 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
err = snd_xonar_u1_controls_create(mixer);
break;

case USB_ID(0x17cc, 0x1001): /* Audio Kontrol 6 */
err = snd_nativeinstruments_create_mixer(mixer,
snd_nativeinstruments_ak6_mixers,
ARRAY_SIZE(snd_nativeinstruments_ak6_mixers));
break;

case USB_ID(0x17cc, 0x1011): /* Traktor Audio 6 */
err = snd_nativeinstruments_create_mixer(mixer,
snd_nativeinstruments_ta6_mixers,
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/usb/quirks-table.h
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),

/* Native Instruments MK2 series */
{
/* Audio Kontrol 6 */
/* Komplete Audio 6 */
.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
.idVendor = 0x17cc,
.idProduct = 0x1000,
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/usb/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ int snd_usb_apply_boot_quirk(struct usb_device *dev,
/* Access Music VirusTI Desktop */
return snd_usb_accessmusic_boot_quirk(dev);

case USB_ID(0x17cc, 0x1000): /* Audio Kontrol 6 */
case USB_ID(0x17cc, 0x1000): /* Komplete Audio 6 */
case USB_ID(0x17cc, 0x1010): /* Traktor Audio 6 */
case USB_ID(0x17cc, 0x1020): /* Traktor Audio 10 */
return snd_usb_nativeinstruments_boot_quirk(dev);
Expand Down

0 comments on commit fc25ca4

Please sign in to comment.