]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/generic: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:56 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commit2d0a1051de4334bafc4e7d497c48da1abe46bc9d
tree40c825582ee5494f4dea7ba141b8ed2f97ade1c0
parent129cb64e39892982beb0059da2037d3f58b27065
ALSA: hda/generic: Use guard() for mutex locks

Replace the manual mutex lock/unlock pairs with guard().

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827072916.31933-17-tiwai@suse.de
sound/hda/codecs/generic.c