]> Gentwo Git Trees - linux/.git/commit
ALSA: ens137x: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:42:40 +0000 (16:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:38 +0000 (13:52 +0200)
commitd701303bf465dce024f40f3969ad62ed4621d159
tree3e3f57e8f58d87e95b42f7b0ae2d0ffd426b190e
parente96f601e7dd01ae34144839c9757bd9a53e062fc
ALSA: ens137x: 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-6-tiwai@suse.de
sound/pci/ak4531_codec.c
sound/pci/ens1370.c