Skip to content

Commit b907900

Browse files
andree182tiwai
authored andcommitted
ALSA: line6: Fix POD X3 Live audio input
The commit c039aaa was incomplete, missing part of the setup for Live. This makes also audio input work, in addition to audio output. Fixes: c039aaa Reported-by: Eddi De Pieri <eddi@depieri.net> Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent eeea8b4 commit b907900

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sound/usb/line6/podhd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ static int podhd_init(struct usb_line6 *line6,
317317
if (pod->line6.properties->capabilities & LINE6_CAP_PCM) {
318318
/* initialize PCM subsystem: */
319319
err = line6_init_pcm(line6,
320-
(id->driver_info == LINE6_PODX3) ? &podx3_pcm_properties :
320+
(id->driver_info == LINE6_PODX3 ||
321+
id->driver_info == LINE6_PODX3LIVE) ? &podx3_pcm_properties :
321322
&podhd_pcm_properties);
322323
if (err < 0)
323324
return err;

0 commit comments

Comments
 (0)