From: Takashi Iwai Date: Mon, 13 Oct 2014 21:14:46 +0000 (+0200) Subject: ALSA: pcm: Fix referred substream in snd_pcm_action_group() unlock loop X-Git-Tag: fixes-against-v3.18-rc2~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=811deedebab38f8360a700a52b0b75688c9a10f7;p=pandora-kernel.git ALSA: pcm: Fix referred substream in snd_pcm_action_group() unlock loop In the unlock loop of snd_pcm_action_group(), the object "s" is used as the check of nonatomic PCM, but it should be rather "s1", which is the iterator of the loop. This supposedly causes a kernel panic when the substreams in operatino are linked. Fixes: 257f8cce5d40 ('ALSA: pcm: Allow nonatomic trigger operations') Reported-and-tested-by: Arthur Marsh Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed