]> Gentwo Git Trees - linux/.git/commit
ALSA: bcd2000: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:07:16 +0000 (17:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:06 +0000 (13:54 +0200)
commitcff7acfe0b8f80653726d31741ca111d56cdbc38
tree5dbe582b99f791f4218aad3cf0f54ed7b69d9bc7
parente5d3eeb4261a3a288b427201b9a97e4aa8159a3e
ALSA: bcd2000: 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-9-tiwai@suse.de
sound/usb/bcd2000/bcd2000.c