]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix DMA position inaccuracy
authorTakashi Iwai <tiwai@suse.de>
Fri, 16 May 2008 10:34:47 +0000 (12:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Aug 2008 16:03:21 +0000 (09:03 -0700)
commitf0d41ea56a8e4e2aa4d8843fb1596410af393b95
treee1929ca9097ee48583fbe3233cd73b7461e943f1
parent002f5d19edfdc65831d4e9986e852f683c7f340e
ALSA: hda - Fix DMA position inaccuracy

commit 9ad593f6d326e7a4664e3856520f6c042f82a37f upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/hda_intel.c