Commit 7d70c81c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: line6: Don't handle PCM trigger for other cards

Otherwise it oopses.
Tested-by: default avatarChris Rorvick <>
Signed-off-by: Takashi Iwai's avatarTakashi Iwai <>
parent a019f5e8
......@@ -233,6 +233,8 @@ int snd_line6_trigger(struct snd_pcm_substream *substream, int cmd)
clear_bit(LINE6_INDEX_PREPARED, &line6pcm->flags);
snd_pcm_group_for_each_entry(s, substream) {
if (s->pcm->card != substream->pcm->card)
switch (s->stream) {
err = snd_line6_playback_trigger(line6pcm, cmd);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment