Skip to content

Commit

Permalink
ASoC: rt5682: remove noisy debug messages
Browse files Browse the repository at this point in the history
Some debug messages are too noisy.
This patch removes it.

Signed-off-by: Shuming Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
shumingfan authored and broonie committed Mar 18, 2020
1 parent eff4d9e commit 243de01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/rt5682.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 243de01

Please sign in to comment.