ASoC: soc-core: remove error due to probe deferral
authorStefan Agner <stefan@agner.ch>
Fri, 18 Jan 2019 09:55:04 +0000 (10:55 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 18 Jan 2019 18:09:01 +0000 (18:09 +0000)
Deferred probes shouldn't cause error messages in the boot log, so
change the dev_err() to the more harmless dev_info().

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c

index 0462b3ec977a221a5d7869d3e7afb02e36cd7e5a..98bb05f6ed56309e2f9136bcdda24281d8b9332d 100644 (file)
@@ -903,8 +903,8 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
        for (i = 0; i < rtd->num_codecs; i++) {
                codec_dais[i] = snd_soc_find_dai(&codecs[i]);
                if (!codec_dais[i]) {
-                       dev_err(card->dev, "ASoC: CODEC DAI %s not registered\n",
-                               codecs[i].dai_name);
+                       dev_info(card->dev, "ASoC: CODEC DAI %s not registered\n",
+                                codecs[i].dai_name);
                        goto _err_defer;
                }
                snd_soc_rtdcom_add(rtd, codec_dais[i]->component);