diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2009-08-06 12:24:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-08-06 11:36:45 +0100 |
commit | 4977b03e3dc3b76182903cda2df9dc2ef8f566a0 (patch) | |
tree | 880df1d180112c1ff3b76c28516f3bd980a71b36 /sound/soc/codecs/cx20442.c | |
parent | 924914ee953f2ccf3a2d49bda08c9ce1046a0c58 (diff) | |
download | talos-op-linux-4977b03e3dc3b76182903cda2df9dc2ef8f566a0.tar.gz talos-op-linux-4977b03e3dc3b76182903cda2df9dc2ef8f566a0.zip |
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.c | 1 |
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; |