[PATCH 2/2] ASoC: rt5682: remove noisy debug messages
shumingf at realtek.com
shumingf at realtek.com
Tue Mar 17 08:33:21 CET 2020
From: Shuming Fan <shumingf at realtek.com>
Some debug messages are too noisy.
This patch removes it.
Signed-off-by: Shuming Fan <shumingf at realtek.com>
---
sound/soc/codecs/rt5682.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index 023bc672274b..2ee01e782fe0 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -1197,11 +1197,11 @@ static int rt5682_div_sel(struct rt5682_priv *rt5682,
}
for (i = 0; i < size - 1; i++) {
- pr_info("div[%d]=%d\n", i, div[i]);
+ dev_dbg(rt5682->component->dev, "div[%d]=%d\n", i, div[i]);
if (target * div[i] == rt5682->sysclk)
return i;
if (target * div[i + 1] > rt5682->sysclk) {
- pr_err("can't find div for sysclk %d\n",
+ dev_dbg(rt5682->component->dev, "can't find div for sysclk %d\n",
rt5682->sysclk);
return i;
}
--
2.25.1
More information about the Alsa-devel
mailing list