]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda - Fix DMA position inaccuracy
authorTakashi Iwai <tiwai@suse.de>
Fri, 16 May 2008 10:34:47 +0000 (12:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 May 2008 11:19:19 +0000 (13:19 +0200)
commit1e13c9771a8a091dbb5f31b34bfb385a5bc44bc1
tree215ff6488001382eb90f9f6ee8cd66c6c0030485
parentf18fc84c2ef6d42c97d43bc2fb6c24e7d845cc53
[ALSA] hda - Fix DMA position inaccuracy

Many HD-audio controllers seem inaccurate about the IRQ timing of
PCM period updates.  This has caused problems on audio quality; e.g.
JACK doesn't work with two periods.

This patch fixes the problem by checking the current DMA position
at IRQ handler and delays the period-update via a workq if it's
inaccurate.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_intel.c