OSDN Git Service

ALSA: emu10k1: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:01 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:10:40 +0000 (09:10 +0200)
commitaa9e91806517399da497f4d38912c66ca44ed2f7
treea0164c45ec19e5e804fb5f75f6e770f3a25ff01f
parentf45828d464566140ee18089d0255199ba06db24a
ALSA: emu10k1: Simplify with snd_ctl_find_id_mixer()

Replace an open code with the new snd_ctl_find_id_mixer().
There is no functional change.

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