summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda-stream.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-03-13 18:52:23 +0000
committerMark Brown <broonie@kernel.org>2020-03-13 18:52:23 +0000
commit673f45f7bf7dbb6801a04053e3e2d13dfa42db08 (patch)
tree1eaca68ae7681a38d63ba780f858f9ea3813c43d /sound/soc/sof/intel/hda-stream.c
parentbd2b34e485f2361655c6020aa2d3bf2a14ae9dff (diff)
parent1a0f2433d7380c957d5d29e60a2eeb03ca3afe21 (diff)
Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
Diffstat (limited to 'sound/soc/sof/intel/hda-stream.c')
-rw-r--r--sound/soc/sof/intel/hda-stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda-stream.c b/sound/soc/sof/intel/hda-stream.c
index 7daa913dbde0..5d386956906f 100644
--- a/sound/soc/sof/intel/hda-stream.c
+++ b/sound/soc/sof/intel/hda-stream.c
@@ -547,6 +547,8 @@ int hda_dsp_stream_hw_free(struct snd_sof_dev *sdev,
SOF_HDA_REG_PP_PPCTL, mask, 0);
spin_unlock_irq(&bus->reg_lock);
+ stream->substream = NULL;
+
return 0;
}