Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: line6: add support for POD HD Pro X

It uses the same protocol as other POD HD models so it just needed
proper config.

Signed-off-by: Baltazár Radics <baltazar.radics@gmail.com>
Link: https://patch.msgid.link/20251031183514.40926-1-baltazar.radics@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Baltazár Radics and committed by
Takashi Iwai
4e5a0a0a a0deef0e

+15 -1
+15 -1
sound/usb/line6/podhd.c
··· 26 26 LINE6_PODX3, 27 27 LINE6_PODX3LIVE, 28 28 LINE6_PODHD500X, 29 - LINE6_PODHDDESKTOP 29 + LINE6_PODHDDESKTOP, 30 + LINE6_PODHDPROX, 30 31 }; 31 32 32 33 struct usb_line6_podhd { ··· 441 440 { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE }, 442 441 { LINE6_IF_NUM(0x4159, 0), .driver_info = LINE6_PODHD500X }, 443 442 { LINE6_IF_NUM(0x4156, 0), .driver_info = LINE6_PODHDDESKTOP }, 443 + { LINE6_IF_NUM(0x415A, 0), .driver_info = LINE6_PODHDPROX }, 444 444 {} 445 445 }; 446 446 ··· 527 525 .ep_ctrl_r = 0x81, 528 526 .ep_ctrl_w = 0x01, 529 527 .ctrl_if = 1, 528 + .ep_audio_r = 0x86, 529 + .ep_audio_w = 0x02, 530 + }, 531 + [LINE6_PODHDPROX] = { 532 + .id = "PODHDPROX", 533 + .name = "POD HD Pro X", 534 + .capabilities = LINE6_CAP_CONTROL | LINE6_CAP_CONTROL_INFO 535 + | LINE6_CAP_PCM | LINE6_CAP_HWMON | LINE6_CAP_IN_NEEDS_OUT, 536 + .altsetting = 1, 537 + .ctrl_if = 1, 538 + .ep_ctrl_r = 0x81, 539 + .ep_ctrl_w = 0x01, 530 540 .ep_audio_r = 0x86, 531 541 .ep_audio_w = 0x02, 532 542 },