From: Derek Fang Date: Thu, 30 Sep 2021 10:29:27 +0000 (+0800) Subject: ASoC: rt5682s: Use dev_dbg instead of pr_debug X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=087330c642a968be8b1b9f2df6fb87b217f17372;p=linux.git ASoC: rt5682s: Use dev_dbg instead of pr_debug It could observe the debug messages more clearly by using dev_dbg. Signed-off-by: Derek Fang Link: https://lore.kernel.org/r/20210930102928.28628-2-derek.fang@realtek.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c index 2b229c074a31f..122adeb7beb1c 100644 --- a/sound/soc/codecs/rt5682s.c +++ b/sound/soc/codecs/rt5682s.c @@ -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: