]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: usx2y: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:07:11 +0000 (17:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:05 +0000 (13:54 +0200)
commit9e38c362a6d8b69e8760ff5e5614362b09a1b30e
treec29d98cdd94569b793fb9b8c18013266884ac3c3
parentf9435abeb3eee14854d8a7769a626bc983e70d68
ALSA: usx2y: 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-4-tiwai@suse.de
sound/usb/usx2y/us122l.c
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c