]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm - Fix update of runtime->hw_ptr_interrupt
authorTakashi Iwai <tiwai@suse.de>
Sun, 7 Jun 2009 10:09:17 +0000 (12:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Jun 2009 10:19:33 +0000 (12:19 +0200)
commitde94031c1aeda84a822837b04535403fe6445a65
treeb494cdfafdcd4f279e20de3a25d8c9c76c590cf5
parent711f4d0e06aa73529e2613243baebb9d35b6f675
ALSA: pcm - Fix update of runtime->hw_ptr_interrupt

The commit 34e428047bc3a2345b803dbe0379378ebcbb9cf4 made another
regression, the missing update of runtime->hw_ptr_interrupt.
Since this field is only checked in snd_pcmupdate__hw_ptr_interrupt(),
not in snd_pcm_update_hw_ptr(), it must be updated before the hw_ptr
change check.

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