aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/caiaq/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/caiaq/device.h')
-rw-r--r--sound/usb/caiaq/device.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/usb/caiaq/device.h b/sound/usb/caiaq/device.h
index f1117ecc84fd..b2b310194ffa 100644
--- a/sound/usb/caiaq/device.h
+++ b/sound/usb/caiaq/device.h
@@ -16,6 +16,8 @@
16#define USB_PID_SESSIONIO 0x1915 16#define USB_PID_SESSIONIO 0x1915
17#define USB_PID_GUITARRIGMOBILE 0x0d8d 17#define USB_PID_GUITARRIGMOBILE 0x0d8d
18#define USB_PID_TRAKTORKONTROLX1 0x2305 18#define USB_PID_TRAKTORKONTROLX1 0x2305
19#define USB_PID_TRAKTORKONTROLS4 0xbaff
20#define USB_PID_TRAKTORAUDIO2 0x041d
19 21
20#define EP1_BUFSIZE 64 22#define EP1_BUFSIZE 64
21#define EP4_BUFSIZE 512 23#define EP4_BUFSIZE 512
@@ -99,13 +101,14 @@ struct snd_usb_caiaqdev {
99 struct snd_pcm_substream *sub_capture[MAX_STREAMS]; 101 struct snd_pcm_substream *sub_capture[MAX_STREAMS];
100 102
101 /* Controls */ 103 /* Controls */
102 unsigned char control_state[64]; 104 unsigned char control_state[256];
105 unsigned char ep8_out_buf[2];
103 106
104 /* Linux input */ 107 /* Linux input */
105#ifdef CONFIG_SND_USB_CAIAQ_INPUT 108#ifdef CONFIG_SND_USB_CAIAQ_INPUT
106 struct input_dev *input_dev; 109 struct input_dev *input_dev;
107 char phys[64]; /* physical device path */ 110 char phys[64]; /* physical device path */
108 unsigned short keycode[64]; 111 unsigned short keycode[128];
109 struct urb *ep4_in_urb; 112 struct urb *ep4_in_urb;
110 unsigned char ep4_in_buf[EP4_BUFSIZE]; 113 unsigned char ep4_in_buf[EP4_BUFSIZE];
111#endif 114#endif