]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: seq: Clean up fifo locking with guard
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 08:05:13 +0000 (10:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:36 +0000 (11:52 +0200)
commit9314e34e37292f2d3d43dcc8a7f54366b4c0811d
tree89f411e0208ff1d6a23f68a520a01e4aca558111
parent04a86185b7853971786d1d4b375b5544edd8d44d
ALSA: seq: Clean up fifo locking with guard

Yet more cleanup, now for seq_fifo.c about its refcount calls; the
manual refcount calls (either snd_use_lock_*() or snd_seq_fifo_lock())
are replaced with guard(snd_seq_fifo).

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827080520.7544-8-tiwai@suse.de
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_fifo.c
sound/core/seq/seq_fifo.h