]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/core: Use guard() for spinlocks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:29:03 +0000 (09:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commit39f374ce54ca239ce02f05c26637917502bd694f
tree3dfccc0d5ebd3d1cab27f8e93f489b3d2b85bd26
parent3a4a4d06f7a69ae081f1c6b969ae0534b0c69539
ALSA: hda/core: 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-24-tiwai@suse.de
sound/hda/core/controller.c
sound/hda/core/stream.c