From: Takashi Iwai Date: Thu, 26 May 2011 06:09:38 +0000 (+0200) Subject: ALSA: PCM - Don't check DMA time-out too shortly X-Git-Tag: v3.0-rc1~51^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2b3614cefb61ee6046a0aaee503ee37f227d310;p=pandora-kernel.git ALSA: PCM - Don't check DMA time-out too shortly When the PCM period size is set larger than 10 seconds, currently the PCM core may abort the operation with DMA-error due to the fixed timeout for 10 seconds. A similar problem is seen in the drain operation that has a fixed timeout of 10 seconds, too. This patch fixes the timeout length depending on the period size and rate, also including the consideration of no_period_wakeup flag. Reported-by: Raymond Yau Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed