diff --git a/include/sound/soc.h b/include/sound/soc.h index b62ca5e46cff..b6a504e07309 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -981,6 +981,9 @@ struct snd_soc_dai_link { /* This DAI link can route to other DAI links at runtime (Frontend)*/ unsigned int dynamic:1; + /* This DAI link can be reconfigured at runtime (Backend) */ + unsigned int dynamic_be:1; + /* * This DAI can support no host IO (no pcm data is * copied to from host) diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index db5b005f4b1e..39f75a802374 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -4227,7 +4227,8 @@ void snd_soc_dapm_connect_dai_link_widgets(struct snd_soc_card *card) * dynamic FE links have no fixed DAI mapping. * CODEC<->CODEC links have no direct connection. */ - if (rtd->dai_link->dynamic || rtd->dai_link->params) + if (rtd->dai_link->dynamic || rtd->dai_link->params || + rtd->dai_link->dynamic_be) continue; dapm_connect_dai_link_widgets(card, rtd);