ALSA: pcm_lib - optimize wake_up() calls for PCM I/O
authorJaroslav Kysela <perex@perex.cz>
Thu, 7 Jan 2010 14:36:31 +0000 (15:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Jan 2010 14:48:13 +0000 (15:48 +0100)
commit1250932e48d3b698415b1f04775433cf1da688d6
tree58d25383b6fa4e083f24dfc9d51ad4339ff7dece
parentf240406babfe1526998e10583ea5eccc2676a433
ALSA: pcm_lib - optimize wake_up() calls for PCM I/O

As noted by pl bossart <bossart.nospam@gmail.com>, the PCM I/O routines
(snd_pcm_lib_write1, snd_pcm_lib_read1) should block wake_up() calls
until all samples are not processed.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/pcm.h
sound/core/pcm_lib.c
sound/core/pcm_native.c