summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cx20442.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2009-08-06 12:24:54 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-06 11:36:45 +0100
commit4977b03e3dc3b76182903cda2df9dc2ef8f566a0 (patch)
tree880df1d180112c1ff3b76c28516f3bd980a71b36 /sound/soc/codecs/cx20442.c
parent924914ee953f2ccf3a2d49bda08c9ce1046a0c58 (diff)
ASoC: CX20442: add some debugging
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>
Diffstat (limited to 'sound/soc/codecs/cx20442.c')
-rw-r--r--sound/soc/codecs/cx20442.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c
index f33245510c3b..0e54adcc9795 100644
--- 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;