]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: vxpocket: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:25 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:27 +0000 (13:54 +0200)
commit89008621bb2dcfcb8905f58a64cadcbdb16c9214
tree9e9b5f8059ef91b3cee6de99e4112db78a37ce0a
parent2c24032607d6d5f2e1ac3cbd46eaf4722880ba83
ALSA: vxpocket: 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/20250829151335.7342-12-tiwai@suse.de
sound/pcmcia/vx/vxp_mixer.c
sound/pcmcia/vx/vxp_ops.c