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)
commitab1863fc9bc18c806338564124b1e5e7e3ef53d1
treeb494cdfafdcd4f279e20de3a25d8c9c76c590cf5
parentd86bf92313bfd47885a92c7de63bde392d585f95
ALSA: pcm - Fix update of runtime->hw_ptr_interrupt

The commit 13f040f9e55d41e92e485389123654971e03b819 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