]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: mixart: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:18 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:41 +0000 (13:52 +0200)
commit23ab90a965bae0da773893037de1ab4c8df03fde
tree9f0c04c27977e08e6fba189601fd192fbfad25bc
parent35dea82a4396ec0b974aae3e8e836a2336873561
ALSA: mixart: 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-44-tiwai@suse.de
sound/pci/mixart/mixart.c
sound/pci/mixart/mixart_core.c
sound/pci/mixart/mixart_mixer.c