aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/caiaq/control.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/usb/caiaq/control.c b/sound/usb/caiaq/control.c
index 70c3866bb627..91c804cd2782 100644
--- a/sound/usb/caiaq/control.c
+++ b/sound/usb/caiaq/control.c
@@ -95,11 +95,9 @@ static int control_put(struct snd_kcontrol *kcontrol,
95 int pos = kcontrol->private_value; 95 int pos = kcontrol->private_value;
96 unsigned char cmd = EP1_CMD_WRITE_IO; 96 unsigned char cmd = EP1_CMD_WRITE_IO;
97 97
98 switch (dev->chip.usb_id) { 98 if (dev->chip.usb_id ==
99 case USB_ID(USB_VID_NATIVEINSTRUMENTS, USB_PID_TRAKTORKONTROLX1): 99 USB_ID(USB_VID_NATIVEINSTRUMENTS, USB_PID_TRAKTORKONTROLX1))
100 cmd = EP1_CMD_DIMM_LEDS; 100 cmd = EP1_CMD_DIMM_LEDS;
101 break;
102 }
103 101
104 if (pos & CNT_INTVAL) { 102 if (pos & CNT_INTVAL) {
105 dev->control_state[pos & ~CNT_INTVAL] 103 dev->control_state[pos & ~CNT_INTVAL]