]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00274585-9 ASoC: change error message to debug message
authorShengjiu Wang <b02247@freescale.com>
Fri, 9 Aug 2013 06:45:51 +0000 (14:45 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:15 +0000 (10:06 +0200)
This error message is not actual error, which is a warning. When using
FE/BE, if there is widget which is used by playback and capture route, then
this message will be printed.

Signed-off-by: Shengjiu Wang <b02247@freescale.com>
sound/soc/soc-pcm.c

index 54d18f22a33e4716b05292f252b53e553d85f8ba..ce14e37c11ea51382732f51a6508a7c1599b9575 100644 (file)
@@ -1012,7 +1012,7 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card,
                }
        }
 
-       dev_err(card->dev, "ASoC: can't get %s BE for %s\n",
+       dev_dbg(card->dev, "ASoC: can't get %s BE for %s\n",
                stream ? "capture" : "playback", widget->name);
        return NULL;
 }
@@ -1120,7 +1120,7 @@ static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream,
                /* is there a valid BE rtd for this widget */
                be = dpcm_get_be(card, list->widgets[i], stream);
                if (!be) {
-                       dev_err(fe->dev, "ASoC: no BE found for %s\n",
+                       dev_dbg(fe->dev, "ASoC: no BE found for %s\n",
                                        list->widgets[i]->name);
                        continue;
                }