--- zzzz-none-000/linux-5.4.213/sound/soc/soc-pcm.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/sound/soc/soc-pcm.c 2024-05-29 11:20:03.000000000 +0000 @@ -1201,6 +1201,8 @@ return; be_substream = snd_soc_dpcm_get_substream(be, stream); + if (be_substream == NULL) + return; for_each_dpcm_fe(be, stream, dpcm) { if (dpcm->fe == fe)