]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/component: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:55 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commit129cb64e39892982beb0059da2037d3f58b27065
tree3a0dc41ff3ec7223f9f206383b1dc714eca70782
parent68e51065315c40c34948d118bc04506209074879
ALSA: hda/component: 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-16-tiwai@suse.de
sound/hda/codecs/side-codecs/hda_component.c
sound/hda/codecs/side-codecs/hda_component.h