commit | 1a7fa543cb5d8185d293a03842b33136d8dcc04c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Jul 06 12:27:25 2007 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Fri Jul 20 11:11:46 2007 +0200 |
tree | d81e9852e5fc50dd9d14c28de767f7629138f3a8 | |
parent | 940d244851f8a204b5aedae678d9ab96c20b2fec [diff] |
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>