]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: i2c: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:15 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:26 +0000 (13:54 +0200)
commit7a3dc0da931ea7c8a1f2e585a0465131f3c9e556
tree0f91d4f59ac718eb9533ac5fc005b3f703c60a96
parent95692e3c9fceecb821ba14b41773442d720fceaa
ALSA: i2c: 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-2-tiwai@suse.de
sound/i2c/other/ak4113.c
sound/i2c/other/ak4114.c