Loading sound/soc/soc-core.c +8 −0 Original line number Diff line number Diff line Loading @@ -1071,12 +1071,20 @@ static int soc_init_dai_link(struct snd_soc_card *card, link->name); return -EINVAL; } /* Codec DAI name must be specified */ if (!codec->dai_name) { dev_err(card->dev, "ASoC: codec_dai_name not set for %s\n", link->name); return -EINVAL; } /* * Defer card registration if codec component is not added to * component list. */ if (!soc_find_component(codec)) return -EPROBE_DEFER; } /* Loading Loading
sound/soc/soc-core.c +8 −0 Original line number Diff line number Diff line Loading @@ -1071,12 +1071,20 @@ static int soc_init_dai_link(struct snd_soc_card *card, link->name); return -EINVAL; } /* Codec DAI name must be specified */ if (!codec->dai_name) { dev_err(card->dev, "ASoC: codec_dai_name not set for %s\n", link->name); return -EINVAL; } /* * Defer card registration if codec component is not added to * component list. */ if (!soc_find_component(codec)) return -EPROBE_DEFER; } /* Loading