]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: emu10k1: Use guard() for emu1010 FPGA locking
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:02 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:40 +0000 (13:52 +0200)
commit7c4a379e0622e7d8e7eb7dbc76445cdd6306aad8
tree65b4e8bb874871b586e114e962447262cc4a5f41
parentf44f745f753d55c2f4134b2e53996fdcc5cc7620
ALSA: emu10k1: Use guard() for emu1010 FPGA locking

The snd_emu1010_fpga_lock() and _unlock() call pairs can be simplified
gracefully with the introduction of guard().

Only code refactoring, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-28-tiwai@suse.de
include/sound/emu10k1.h
sound/pci/emu10k1/emu10k1_main.c
sound/pci/emu10k1/emumixer.c
sound/pci/emu10k1/emuproc.c
sound/pci/emu10k1/io.c