summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-08-09 14:45:51 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 08:59:20 -0500
commitfcf44904b847eda737fff7d359ef612f8375645b (patch)
tree5aa092f2af33e51c749f421d777eeb8045f3e439
parent14fdd828817d08b90113dee8333a50a911a85efe (diff)
ENGR00274585-9 ASoC: change error message to debug message
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> (cherry picked from commit ad60b0e03d058b57f2fd9538e1158da8eefcea1f)
-rw-r--r--sound/soc/soc-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index c34ec2ab8467..f1b883368a05 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -945,7 +945,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;
}
@@ -1062,7 +1062,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;
}