ALSA: timer: Fix missing irq-disable at closing
authorTakashi Iwai <tiwai@suse.de>
Fri, 15 Mar 2024 10:14:42 +0000 (11:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Mar 2024 10:16:47 +0000 (11:16 +0100)
commit587d67fd929ad89801bcc429675bda90d53f6592
treef08d52a695fb2f89cf3aac5171ae8bad820b28d8
parent9b714a59b719b1ba9382c092f0f7aa4bbe94eba1
ALSA: timer: Fix missing irq-disable at closing

The conversion to guard macro dropped the irq-disablement at closing
mistakenly, which may lead to a race.  Fix it.

Fixes: beb45974dd49 ("ALSA: timer: Use guard() for locking")
Reported-by: syzbot+28c1a5a5b041a754b947@syzkaller.appspotmail.com
Closes: http://lore.kernel.org/r/0000000000000b9a510613b0145f@google.com
Message-ID: <20240315101447.18395-1-tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c