[alsa-devel] [PATCH] ASoC: wm8524: Don't use dev_err to show supported sample rate

Axel Lin axel.lin at ingics.com
Wed Aug 2 10:13:46 CEST 2017


Switch to use dev_dbg instead.

Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
 sound/soc/codecs/wm8524.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm8524.c b/sound/soc/codecs/wm8524.c
index e22b76d..b66147e 100644
--- a/sound/soc/codecs/wm8524.c
+++ b/sound/soc/codecs/wm8524.c
@@ -118,7 +118,7 @@ static int wm8524_set_dai_sysclk(struct snd_soc_dai *codec_dai,
 		case 96000:
 		case 176400:
 		case 192000:
-			dev_err(codec->dev, "Supported sample rate: %dHz\n",
+			dev_dbg(codec->dev, "Supported sample rate: %dHz\n",
 				val);
 			wm8524->rate_constraint_list[j++] = val;
 			wm8524->rate_constraint.count++;
-- 
2.9.3



More information about the Alsa-devel mailing list