diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 21:59:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-20 00:00:47 +0300 |
commit | 174e1fc0bff5e0bbdf5eb0cbf1b8c0d64a0f38d2 (patch) | |
tree | ef1a8fa786d21e9c6527906d99c64e0222721036 /sound/usb/line6/variax.c | |
parent | f56742cc41895b1ed3742406dc3587b0d6424acb (diff) | |
download | linux-174e1fc0bff5e0bbdf5eb0cbf1b8c0d64a0f38d2.tar.xz |
ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP)
POD X3 can initialize similarly to older PODs, but it doesn't have the MIDI
interface. Instead, configuration is done via proprietary bulk EP messages.
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/variax.c')
-rw-r--r-- | sound/usb/line6/variax.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/usb/line6/variax.c b/sound/usb/line6/variax.c index ddc23ddf0750..0c4512d0382e 100644 --- a/sound/usb/line6/variax.c +++ b/sound/usb/line6/variax.c @@ -259,7 +259,8 @@ static const struct line6_properties variax_properties_table[] = { [LINE6_PODXTLIVE_VARIAX] = { .id = "PODxtLive", .name = "PODxt Live", - .capabilities = LINE6_CAP_CONTROL, + .capabilities = LINE6_CAP_CONTROL + | LINE6_CAP_CONTROL_MIDI, .altsetting = 1, .ep_ctrl_r = 0x86, .ep_ctrl_w = 0x05, @@ -269,7 +270,8 @@ static const struct line6_properties variax_properties_table[] = { [LINE6_VARIAX] = { .id = "Variax", .name = "Variax Workbench", - .capabilities = LINE6_CAP_CONTROL, + .capabilities = LINE6_CAP_CONTROL + | LINE6_CAP_CONTROL_MIDI, .altsetting = 1, .ep_ctrl_r = 0x82, .ep_ctrl_w = 0x01, |