aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-10 09:55:04 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-11 09:18:18 -0400
commitfd5722e5cdb233bbc47e782e10b3b5e3488a22fa (patch)
treec9f0abef065595eee14ccbe01a494cba85be7648 /sound
parentd11bb4a925613fa814ed4ae350440eb24ebff336 (diff)
ASoC: Add register write logging for WM8994
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index f04a116e678b..c6b3f1ebd62e 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1710,6 +1710,8 @@ static int wm8994_write(struct snd_soc_codec *codec, unsigned int reg,
1710 if (!wm8994_volatile(reg)) 1710 if (!wm8994_volatile(reg))
1711 wm8994->reg_cache[reg] = value; 1711 wm8994->reg_cache[reg] = value;
1712 1712
1713 dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
1714
1713 return wm8994_reg_write(codec->control_data, reg, value); 1715 return wm8994_reg_write(codec->control_data, reg, value);
1714} 1716}
1715 1717