projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e068e
)
ASoC: rt5682s: Use dev_dbg instead of pr_debug
author
Derek Fang
<derek.fang@realtek.com>
Thu, 30 Sep 2021 10:29:27 +0000
(18:29 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 30 Sep 2021 12:26:00 +0000
(13:26 +0100)
It could observe the debug messages more clearly by using dev_dbg.
Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link:
https://lore.kernel.org/r/20210930102928.28628-2-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682s.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5682s.c
b/sound/soc/codecs/rt5682s.c
index 2b229c074a31f528f106eeef6cc109adf6abd3b0..122adeb7beb1cf17d8014ca7281ea9d33f810409 100644
(file)
--- 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: