Commit 087330c6 authored by Derek Fang's avatar Derek Fang Committed by Mark Brown

ASoC: rt5682s: Use dev_dbg instead of pr_debug

It could observe the debug messages more clearly by using dev_dbg.
Signed-off-by: default avatarDerek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20210930102928.28628-2-derek.fang@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 67e068ec
......@@ -768,7 +768,7 @@ static int rt5682s_headset_detect(struct snd_soc_component *component, int jack_
count++;
} while (val == 0 && count < 50);
pr_debug("%s, val=%d, count=%d\n", __func__, val, count);
dev_dbg(component->dev, "%s, val=%d, count=%d\n", __func__, val, count);
switch (val) {
case 0x1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment