linux/sound/pci/ice1712
Takashi Iwai 157ac57073 ALSA: ice1712: Use the standard snd_ctl_add_followers() helper
Instead of open-code, use the new standard helper to manage vmaster
stuff for code simplification.

Also, handle the errors from the helper more properly instead of
silently ignoring.

The code changes the call order of snd_ctl_add() of the vmaster object
and its followers for avoiding the possible memory leaks at error
path.  But there should be no difference in the functionality.

Link: https://lore.kernel.org/r/20230721071643.3631-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-07-21 09:37:49 +02:00
..
ak4xxx.c
amp.c
amp.h
aureon.c ALSA: ice1712,ice1724: fix the kcontrol->id initialization 2023-06-06 09:43:55 +02:00
aureon.h
delta.c ALSA: ice1712: Fix assignment in if condition 2021-06-09 17:30:14 +02:00
delta.h
envy24ht.h
ews.c ALSA: ice1712: Fix assignment in if condition 2021-06-09 17:30:14 +02:00
ews.h
hoontech.c
hoontech.h
ice1712.c ALSA: ice1712,ice1724: fix the kcontrol->id initialization 2023-06-06 09:43:55 +02:00
ice1712.h ALSA: ice17xx: Constify snd_ice1712_card_info 2020-01-03 09:24:39 +01:00
ice1724.c ALSA: ice1712,ice1724: fix the kcontrol->id initialization 2023-06-06 09:43:55 +02:00
juli.c ALSA: ice1712: Use the standard snd_ctl_add_followers() helper 2023-07-21 09:37:49 +02:00
juli.h
Makefile
maya44.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
maya44.h
phase.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
phase.h
pontis.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
pontis.h
prodigy192.c ALSA: pci: delete repeated words in comments 2020-08-06 09:30:02 +02:00
prodigy192.h
prodigy_hifi.c ALSA: ice1724: Fix invalid access for enumerated ctl items 2020-04-07 16:43:46 +02:00
prodigy_hifi.h
psc724.c ALSA: ice1712: Simplify with snd_ctl_find_id_mixer() 2023-07-21 09:10:41 +02:00
psc724.h
quartet.c ALSA: ice1712: Use the standard snd_ctl_add_followers() helper 2023-07-21 09:37:49 +02:00
quartet.h
revo.c
revo.h
se.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
se.h
stac946x.h
vt1720_mobo.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
vt1720_mobo.h
wm8766.c ALSA: ice1712: Constify wm-specific tables 2020-01-03 09:24:39 +01:00
wm8766.h
wm8776.c ALSA: ice1712: Simplify with snd_ctl_find_id_mixer() 2023-07-21 09:10:41 +02:00
wm8776.h
wtm.c ALSA: ice1712: More constifications 2020-01-05 16:14:41 +01:00
wtm.h