ASoC: Add register write logging for WM8994
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 May 2010 13:55:04 +0000 (14:55 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 May 2010 13:18:18 +0000 (14:18 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8994.c

index f04a116e678b7fd93d79bf85094b25cefb7d5a0a..c6b3f1ebd62ef8f39168c20eb2b255b9b43eb921 100644 (file)
@@ -1710,6 +1710,8 @@ static int wm8994_write(struct snd_soc_codec *codec, unsigned int reg,
        if (!wm8994_volatile(reg))
                wm8994->reg_cache[reg] = value;
 
+       dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
+
        return wm8994_reg_write(codec->control_data, reg, value);
 }