]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: atmel: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:30 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:28 +0000 (13:54 +0200)
commit94f8cb2b358ca2acfa489d6a54f8e614d17c0572
tree2f6c90b649c8caba91f10b07d57fed61e6b58df1
parent372020ddaa76ba9d18806de90448562ca12ad53e
ALSA: atmel: 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-17-tiwai@suse.de
sound/atmel/ac97c.c