]> Gentwo Git Trees - linux/.git/commit
ALSA: hiface: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:07:12 +0000 (17:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:06 +0000 (13:54 +0200)
commit07f55c77b922b21009e12b3bb70c8ef0e07b0eb0
tree53e6840957146bd3d53c7d1140687335104001a7
parent9e38c362a6d8b69e8760ff5e5614362b09a1b30e
ALSA: hiface: 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/20250829150724.6886-5-tiwai@suse.de
sound/usb/hiface/chip.c
sound/usb/hiface/pcm.c