summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs46xx
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-29 05:07:24 -0500
committerTakashi Iwai <tiwai@suse.de>2019-01-29 05:07:48 -0500
commit286406c2e198b199c348447b3a7c54c6324db147 (patch)
treea193b6e6590e268ba46fe876146c3545d03599c0 /sound/pci/cs46xx
parentb2e9e1c8810ee05c95f4d55800b8afae70ab01b4 (diff)
parente190161f96b88ffae870405fd6c3fdd1d2e7f98d (diff)
Merge branch 'for-linus' into for-next
Pull 5.0 branch for further development of USB-audio quirks Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx')
-rw-r--r--sound/pci/cs46xx/dsp_spos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/cs46xx/dsp_spos.c b/sound/pci/cs46xx/dsp_spos.c
index 598d140bb7cb..5fc497c6d738 100644
--- a/sound/pci/cs46xx/dsp_spos.c
+++ b/sound/pci/cs46xx/dsp_spos.c
@@ -903,6 +903,9 @@ int cs46xx_dsp_proc_done (struct snd_cs46xx *chip)
903 struct dsp_spos_instance * ins = chip->dsp_spos_instance; 903 struct dsp_spos_instance * ins = chip->dsp_spos_instance;
904 int i; 904 int i;
905 905
906 if (!ins)
907 return 0;
908
906 snd_info_free_entry(ins->proc_sym_info_entry); 909 snd_info_free_entry(ins->proc_sym_info_entry);
907 ins->proc_sym_info_entry = NULL; 910 ins->proc_sym_info_entry = NULL;
908 911