]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2009 09:31:20 +0000 (11:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 May 2009 09:47:38 +0000 (11:47 +0200)
commit34e428047bc3a2345b803dbe0379378ebcbb9cf4
treea1a10bff0ab5fb7f8ab265edba72897f1b90bd07
parent02504cc32d6e7b31522292d92c6cad7087742f57
ALSA: PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed

Some hardware might have bigger FIFOs and DMA pointer value will be updated
in large chunks. Do not update hw_ptr_jiffies and position timestamp when
hw_ptr value was not changed.

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