From: Takashi Iwai Date: Thu, 17 Sep 2009 16:46:26 +0000 (+0200) Subject: ALSA: pcm - Simplify snd_pcm_drain() implementation X-Git-Tag: v2.6.32-rc1~165^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a7dcfeeb6856215412065bd0f774de83f43414;p=pandora-kernel.git ALSA: pcm - Simplify snd_pcm_drain() implementation Simplify snd_pcm_drain() implementation and avoid unneeded array- allocation for waitqueues. Instead, one waitqueue is used for the first draining stream, and wait until all streams finished. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed