]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit9ad593f6d326e7a4664e3856520f6c042f82a37f
tree215ff6488001382eb90f9f6ee8cd66c6c0030485
parent02330fbaaded5b603cba112e4bbf62cdadec159a
[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