]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: atiixp: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:42:45 +0000 (16:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:39 +0000 (13:52 +0200)
commit9608fe85ff21684c6c00f2658c2806dd4b2295f0
tree6f41b01cab6c5a6288d4820b4b4d10954b3d40a9
parent7f08b008afbc9bd17c8e3f7d275448417456192a
ALSA: atiixp: Use guard() for mutex locks

Replace the manual mutex 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/20250829144342.4290-11-tiwai@suse.de
sound/pci/atiixp.c
sound/pci/atiixp_modem.c