]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: trident: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:32 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:43 +0000 (13:52 +0200)
commit4f83e1da6e057c13d6e930558d11cb1095b19d3a
tree2f287064a4377a5d2f6ed0955c12a9c4c95e45e1
parentfa670cbaee466c997232d3ddea4bf05b5efa4d78
ALSA: trident: 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-58-tiwai@suse.de
sound/pci/trident/trident_memory.c