]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: ctxfi: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:42:57 +0000 (16:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:40 +0000 (13:52 +0200)
commite1d4c746bb46127efe541c3fc4b1034faf0a0adf
tree74413dfff646a000fc29ee34fb75515913b5b412
parente8eca9fec23f6ae66e5a776ea15b89c82da7ab73
ALSA: ctxfi: 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-23-tiwai@suse.de
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctvmem.c