ALSA: emu10k1: fix handling of half-loop interrupts
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Thu, 18 May 2023 09:30:47 +0000 (11:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 May 2023 11:07:13 +0000 (13:07 +0200)
commit6797400ef4abb4359c225a207c1f3ca28591f51c
tree302d99f1d9ad93899be7f58aeed97f78fc184786
parent9436f0151d30b80873eda80341304524db9e8149
ALSA: emu10k1: fix handling of half-loop interrupts

We'd try to iterate the voices twice without resetting the pointer.
This went unnoticed, because the code isn't actually in use.

Amends commit 27ae958cf6 ("emu10k1 driver - add multichannel device
hw:x,3 [2-8/8]").

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230518093047.3697887-4-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/irq.c