]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: ac97bus: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:31 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:28 +0000 (13:54 +0200)
commitc07824a14d99c10edd4ec4c389d219af336ecf20
treedbfa4da53cb5e621e561f368c099f63f10f31a20
parent94f8cb2b358ca2acfa489d6a54f8e614d17c0572
ALSA: ac97bus: 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/20250829151335.7342-18-tiwai@suse.de
sound/ac97/bus.c