Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199302
b: refs/heads/master
c: 4efd7d8
h: refs/heads/master
v: v3
  • Loading branch information
Mark Hills authored and Takashi Iwai committed May 29, 2010
1 parent 644b82c commit 69126d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: bd4cbf6c7689d35d5d1248369d2c350f4711ca0a
refs/heads/master: 4efd7d8f67ac5ff80db06b77c46aca6e0d9f878b
6 changes: 2 additions & 4 deletions trunk/sound/usb/caiaq/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@ static int control_put(struct snd_kcontrol *kcontrol,
int pos = kcontrol->private_value;
unsigned char cmd = EP1_CMD_WRITE_IO;

switch (dev->chip.usb_id) {
case USB_ID(USB_VID_NATIVEINSTRUMENTS, USB_PID_TRAKTORKONTROLX1):
if (dev->chip.usb_id ==
USB_ID(USB_VID_NATIVEINSTRUMENTS, USB_PID_TRAKTORKONTROLX1))
cmd = EP1_CMD_DIMM_LEDS;
break;
}

if (pos & CNT_INTVAL) {
dev->control_state[pos & ~CNT_INTVAL]
Expand Down

0 comments on commit 69126d9

Please sign in to comment.