Home
last modified time | relevance | path

Searched hist:"157 ac57073bc33396ed719bfdcdccb72798a822d" (Results 1 – 2 of 2) sorted by relevance

/linux/sound/pci/ice1712/
H A Dquartet.cdiff 157ac57073bc33396ed719bfdcdccb72798a822d Fri Jul 21 09:16:43 CEST 2023 Takashi Iwai <tiwai@suse.de> 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>
H A Djuli.cdiff 157ac57073bc33396ed719bfdcdccb72798a822d Fri Jul 21 09:16:43 CEST 2023 Takashi Iwai <tiwai@suse.de> 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>