]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/core: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:48 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:14 +0000 (11:52 +0200)
commit0a930d8732fc076600c4b346a83d9b0a190aeaf0
tree4c914690d443f9241b3439105c516574fb2899e5
parent62dd3851d2450a5fb2259da1f0391b5870e07577
ALSA: hda/core: 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-9-tiwai@suse.de
sound/hda/core/bus.c
sound/hda/core/component.c
sound/hda/core/device.c
sound/hda/core/ext/controller.c
sound/hda/core/regmap.c