aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Krutak <dev@andree.sk>2016-09-18 14:59:29 -0400
committerTakashi Iwai <tiwai@suse.de>2016-09-19 17:02:21 -0400
commitc039aaa77a7d1d9375665a8b59ec16dc7d23e259 (patch)
tree94abb764b29cf3507832919266e85d778072b072
parent790869dacc3d8d4de318905eef32b1f603d02cac (diff)
ALSA: line6: Add support for POD X3 Live (only USB ID differs from POD X3)
Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/usb/line6/podhd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c
index 61c2ff1f6670..4bacbf7f963d 100644
--- a/sound/usb/line6/podhd.c
+++ b/sound/usb/line6/podhd.c
@@ -37,6 +37,7 @@ enum {
37 LINE6_PODHD500_0, 37 LINE6_PODHD500_0,
38 LINE6_PODHD500_1, 38 LINE6_PODHD500_1,
39 LINE6_PODX3, 39 LINE6_PODX3,
40 LINE6_PODX3LIVE
40}; 41};
41 42
42struct usb_line6_podhd { 43struct usb_line6_podhd {
@@ -348,6 +349,7 @@ static const struct usb_device_id podhd_id_table[] = {
348 { LINE6_IF_NUM(0x414D, 0), .driver_info = LINE6_PODHD500_0 }, 349 { LINE6_IF_NUM(0x414D, 0), .driver_info = LINE6_PODHD500_0 },
349 { LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 }, 350 { LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 },
350 { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 }, 351 { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 },
352 { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE },
351 {} 353 {}
352}; 354};
353 355
@@ -409,6 +411,17 @@ static const struct line6_properties podhd_properties_table[] = {
409 .ep_audio_r = 0x86, 411 .ep_audio_r = 0x86,
410 .ep_audio_w = 0x02, 412 .ep_audio_w = 0x02,
411 }, 413 },
414 [LINE6_PODX3LIVE] = {
415 .id = "PODX3LIVE",
416 .name = "POD X3 LIVE",
417 .capabilities = LINE6_CAP_CONTROL
418 | LINE6_CAP_PCM | LINE6_CAP_HWMON | LINE6_CAP_IN_NEEDS_OUT,
419 .altsetting = 1,
420 .ep_ctrl_r = 0x81,
421 .ep_ctrl_w = 0x01,
422 .ep_audio_r = 0x86,
423 .ep_audio_w = 0x02,
424 },
412}; 425};
413 426
414/* 427/*