From: Janusz Krzysztofik Date: Thu, 6 Aug 2009 10:24:54 +0000 (+0200) Subject: ASoC: CX20442: add some debugging X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4977b03e3dc3b76182903cda2df9dc2ef8f566a0;p=linux-beck.git 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 Signed-off-by: Mark Brown --- 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;