]> Gentwo Git Trees - linux/.git/commit
ALSA: emu10k1: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:01 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:40 +0000 (13:52 +0200)
commitf44f745f753d55c2f4134b2e53996fdcc5cc7620
treea83c34625981bc2455774a56f14b641f75059ec8
parent9bd92d6673426c0dc99f5f526fb029ee69de8d73
ALSA: emu10k1: 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-27-tiwai@suse.de
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/memory.c