]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Comment why read blocks when PCM is not running
authorRicardo Biehl Pasquali <pasqualirb@gmail.com>
Wed, 13 Feb 2019 02:57:51 +0000 (00:57 -0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Feb 2019 07:01:05 +0000 (08:01 +0100)
commit2378a2f98e181c6380d355c52a964f68c46b5f53
tree0e88452ce44a24650e853d917eb17f7c6ae77585
parentd7879a5b596b92010906ffa340f5f231dc7b1e30
ALSA: pcm: Comment why read blocks when PCM is not running

This avoids bringing back the problem introduced by
12136820dc91 ("ALSA: pcm: Return 0 when size <
start_threshold in capture") and fixed in cad7bcd67834
("ALSA: pcm: Revert capture stream behavior change in
blocking mode"), which prevented the user from starting
capture from another thread.

Signed-off-by: Ricardo Biehl Pasquali <pasqualirb@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c