]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: cmipci: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:42:51 +0000 (16:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:39 +0000 (13:52 +0200)
commitd0d95e9bd8153508ce23159abd8a849d53b9fe15
tree795870864384551c7fb108aeaeea777cf82e948e
parent22ec1279269f13d794ecb5c81d298a316aa78d28
ALSA: cmipci: 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-17-tiwai@suse.de
sound/pci/cmipci.c