[ALSA] Fix disconnection of proc interface
- Add the linked list to each proc entry to enable a single-shot disconnection (unregister) - Deprecate snd_info_unregister(), use snd_info_free_entry() - Removed NULL checks of snd_info_free_entry() Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
committed by
Jaroslav Kysela
parent
42750b04c5
commit
746d4a02e6
@@ -233,7 +233,7 @@ void cs46xx_dsp_proc_free_scb_desc (struct dsp_scb_descriptor * scb)
|
||||
|
||||
snd_printdd("cs46xx_dsp_proc_free_scb_desc: freeing %s\n",scb->scb_name);
|
||||
|
||||
snd_info_unregister(scb->proc_info);
|
||||
snd_info_free_entry(scb->proc_info);
|
||||
scb->proc_info = NULL;
|
||||
|
||||
snd_assert (scb_info != NULL, return);
|
||||
|
Reference in New Issue
Block a user