OSDN Git Service

ALSA: emu10k1: Go back and simplify with snd_ctl_find_id()
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Jul 2023 14:13:04 +0000 (16:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:03:00 +0000 (10:03 +0200)
commit3315cf95834fb5d612f6a5eb718c3620b80dd05e
tree6eaa85674d462f89539e984d84df5d364ba8a801
parent9c2cc5652e4390bd4492433d96ad4caa785b09de
ALSA: emu10k1: Go back and simplify with snd_ctl_find_id()

Now that snd_ctl_find_id() takes the locking itself, we can get rid of
the messy locking in the caller side in snd_emu10k1_verify_controls().

Link: https://lore.kernel.org/r/20230718141304.1032-12-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c