]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/common: Use guard() for spinlocks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:29:04 +0000 (09:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commit3cafe16317761bf4ea94ee6be1616dd873f698fb
tree13904588fcdbf33db1d9740c49c2015ce8c956d7
parent39f374ce54ca239ce02f05c26637917502bd694f
ALSA: hda/common: Use guard() for spinlocks

Replace the manual spin 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/20250827072916.31933-25-tiwai@suse.de
sound/hda/common/codec.c
sound/hda/common/controller.c