summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-08-09 14:45:51 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:51:22 +0800
commit6170d91a8b32e8569add45691d0e84135ac935ef (patch)
tree07262e7705ae3e7701c5ffe5f5d9df9f14983cbd /sound/soc/soc-pcm.c
parent219d54332a09e8d8741c1e1982f5eae56099de85 (diff)
MLK-11429-11: ASoC: change error message to debug message
cherry-pick below patch from imx_3.14.y 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)
Diffstat (limited to 'sound/soc/soc-pcm.c')
-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 b600d3eaaf5c..0eed248a1c4b 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -1295,7 +1295,7 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card,
}
/* dai link name and stream name set correctly ? */
- 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;
}
@@ -1445,7 +1445,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;
}