projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924914e
)
ASoC: CX20442: add some debugging
author
Janusz Krzysztofik
<jkrzyszt@tis.icnet.pl>
Thu, 6 Aug 2009 10:24:54 +0000
(12:24 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 6 Aug 2009 10:36:45 +0000
(11:36 +0100)
This patch adds debugging statement that can help in tracing
how the driver is trying to control the codec device.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cx20442.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cx20442.c
b/sound/soc/codecs/cx20442.c
index f33245510c3bea22b35bfc424a06773f7e2ed19e..0e54adcc97956253582a6923d448a5a48a9acdc9 100644
(file)
--- a/
sound/soc/codecs/cx20442.c
+++ b/
sound/soc/codecs/cx20442.c
@@
-203,6
+203,7
@@
static int cx20442_write(struct snd_soc_codec *codec, unsigned int reg,
if (unlikely(len > (ARRAY_SIZE(buf) - 1)))
return -ENOMEM;
+ dev_dbg(codec->dev, "%s: %s\n", __func__, buf);
if (codec->hw_write(codec->control_data, buf, len) != len)
return -EIO;