]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: nm256: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:19 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:41 +0000 (13:52 +0200)
commit6c56792a053435b9eee67c07bc4fb0768487a55c
tree54983d8d5db21797ca7ea083ec9ffe8112a6481d
parent23ab90a965bae0da773893037de1ab4c8df03fde
ALSA: nm256: Use guard() for mutex locks

Replace the manual mutex lock/unlock pairs with guard() for code
simplification.

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-45-tiwai@suse.de
sound/pci/nm256/nm256.c