]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/intel: Use guard() for spinlocks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:29:05 +0000 (09:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commitcb8fc4337c7e9e8c3431d51c107f32fffd6f2318
treecc8feb75a7e02ae513690c473f805e2bc4347ac8
parent3cafe16317761bf4ea94ee6be1616dd873f698fb
ALSA: hda/intel: 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-26-tiwai@suse.de
sound/hda/controllers/intel.c