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)
commit13f040f9e55d41e92e485389123654971e03b819
treea1a10bff0ab5fb7f8ab265edba72897f1b90bd07
parentc62a01ad6e746fae9c93f51ea67e0abfd8d94b58
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