OSDN Git Service

ALSA: cs46xx: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:00 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:10:39 +0000 (09:10 +0200)
commitf45828d464566140ee18089d0255199ba06db24a
tree17d3022a45e2bbe1272d54892daa4118d2cdcbc3
parent7affe6fd2a3a75ad0f052bc7e9965b38807bb113
ALSA: cs46xx: 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-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/cs46xx_lib.c