[ALSA] snd-hda-intel: Improve azx_position_ok()
authorJaroslav Kysela <perex@perex.cz>
Tue, 11 May 2010 10:10:47 +0000 (12:10 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 11 May 2010 10:17:55 +0000 (12:17 +0200)
Add back the zero return value (activate workqueue) when
bdl_pos_adj is nonzero for position check.

Do the position related check only for first next period
using wallclk counter.

Return -1 value (ignore interrupt) when period_bytes
variable is zero.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found