]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: lola: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:14 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:41 +0000 (13:52 +0200)
commit18aec9ea320ffc3c66058c1da8f86c413c17ff43
tree2a82958165071a39569aed7cdc6443b9e547e787
parentaff742c156bb070ac05833f0a8565fa307fa4d13
ALSA: lola: 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-40-tiwai@suse.de
sound/pci/lola/lola_pcm.c