Message ID | 20241107134308.23844-3-peter.ujfalusi@linux.intel.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | ASoC: SOF: Correct sps->stream and cstream nullity management | expand |
diff --git a/sound/soc/sof/pcm.c b/sound/soc/sof/pcm.c index 35a7462d8b69..c5c6353f18ce 100644 --- a/sound/soc/sof/pcm.c +++ b/sound/soc/sof/pcm.c @@ -511,6 +511,8 @@ static int sof_pcm_close(struct snd_soc_component *component, */ } + spcm->stream[substream->stream].substream = NULL; + return 0; }