From: Takashi Iwai Date: Tue, 8 Jan 2008 17:00:04 +0000 (+0100) Subject: [ALSA] Fix PCM write blocking X-Git-Tag: v2.6.25-rc1~1127^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5717f2099aadb2083d5df4d19af8f9685fa03e;p=pandora-kernel.git [ALSA] Fix PCM write blocking The snd_pcm_lib_write1() may block in some weird condition: - the stream isn't started - avail_min is big (e.g. period size) - partial write up to buffer_size - avail_min The patch fixes this invalid blocking problem. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed