diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2009-08-06 06:24:54 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-08-06 06:36:45 -0400 |
commit | 4977b03e3dc3b76182903cda2df9dc2ef8f566a0 (patch) | |
tree | 880df1d180112c1ff3b76c28516f3bd980a71b36 /sound/soc | |
parent | 924914ee953f2ccf3a2d49bda08c9ce1046a0c58 (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')
-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, | |||
203 | if (unlikely(len > (ARRAY_SIZE(buf) - 1))) | 203 | if (unlikely(len > (ARRAY_SIZE(buf) - 1))) |
204 | return -ENOMEM; | 204 | return -ENOMEM; |
205 | 205 | ||
206 | dev_dbg(codec->dev, "%s: %s\n", __func__, buf); | ||
206 | if (codec->hw_write(codec->control_data, buf, len) != len) | 207 | if (codec->hw_write(codec->control_data, buf, len) != len) |
207 | return -EIO; | 208 | return -EIO; |
208 | 209 | ||