diff --git a/sound/soc/sof/pcm.c b/sound/soc/sof/pcm.c index 5a00db5b2e1b1e..5a9f2c50f973e1 100644 --- a/sound/soc/sof/pcm.c +++ b/sound/soc/sof/pcm.c @@ -215,6 +215,10 @@ static int sof_pcm_prepare(struct snd_pcm_substream *substream) struct snd_sof_pcm *spcm; int ret; + /* nothing to do for BE */ + if (rtd->dai_link->no_pcm) + return 0; + spcm = snd_sof_find_spcm_dai(sdev, rtd); if (!spcm) return -EINVAL;