[PATCH 2/3] ASoC: rt5682s: Use dev_dbg instead of pr_debug
derek.fang at realtek.com
derek.fang at realtek.com
Thu Sep 30 12:29:27 CEST 2021
From: Derek Fang <derek.fang at realtek.com>
It could observe the debug messages more clearly by using dev_dbg.
Signed-off-by: Derek Fang <derek.fang at realtek.com>
---
sound/soc/codecs/rt5682s.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c
index 2b229c074a31..122adeb7beb1 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:
--
2.17.1
More information about the Alsa-devel
mailing list