From: Takashi Iwai Date: Fri, 6 Jul 2007 10:27:25 +0000 (+0200) Subject: [ALSA] Fix substream to check in PCM drain X-Git-Tag: v2.6.23-rc1~215^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7fa543cb5d8185d293a03842b33136d8dcc04c;p=pandora-kernel.git [ALSA] Fix substream to check in PCM drain The check of a substream in snd_pcm_drain() might not be always correct since runtime can point a different substream (although the PCM state of each linked substream should be same, in theory). This patch fixes it. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed