We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff4e8c commit 8f71370Copy full SHA for 8f71370
sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -706,9 +706,17 @@ static int sst_soc_probe(struct snd_soc_component *component)
706
return sst_dsp_init_v2_dpcm(component);
707
}
708
709
+static void sst_soc_remove(struct snd_soc_component *component)
710
+{
711
+ struct sst_data *drv = dev_get_drvdata(component->dev);
712
+
713
+ drv->soc_card = NULL;
714
+}
715
716
static const struct snd_soc_component_driver sst_soc_platform_drv = {
717
.name = DRV_NAME,
718
.probe = sst_soc_probe,
719
+ .remove = sst_soc_remove,
720
.ops = &sst_platform_ops,
721
.compr_ops = &sst_platform_compr_ops,
722
.pcm_new = sst_pcm_new,
0 commit comments