ASoC: soc-core: remove error due to probe deferral
authorMartin Hundebøll <mnhu@prevas.dk>
Thu, 1 Feb 2018 10:09:41 +0000 (11:09 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2018 12:02:48 +0000 (12:02 +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: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c

index 96c44f6..60a542f 100644 (file)
@@ -1100,8 +1100,8 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
        cpu_dai_component.dai_name = dai_link->cpu_dai_name;
        rtd->cpu_dai = snd_soc_find_dai(&cpu_dai_component);
        if (!rtd->cpu_dai) {
-               dev_err(card->dev, "ASoC: CPU DAI %s not registered\n",
-                       dai_link->cpu_dai_name);
+               dev_info(card->dev, "ASoC: CPU DAI %s not registered\n",
+                        dai_link->cpu_dai_name);
                goto _err_defer;
        }
        snd_soc_rtdcom_add(rtd, rtd->cpu_dai->component);