]> Gentwo Git Trees - linux/.git/commit
ALSA: opl4: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:00:16 +0000 (17:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:53:34 +0000 (13:53 +0200)
commit45451eb5d16d817ab4acf65c137c34f6dd608842
treeedf67c235e0d2a0fc0ae01b69b08fea42b1e44d1
parentec6ac1d5e15a14e403630c5fbf8e41daf184ec83
ALSA: opl4: 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/20250829150026.6379-6-tiwai@suse.de
sound/drivers/opl4/opl4_proc.c
sound/drivers/opl4/opl4_seq.c