diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-10 14:55:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-11 14:18:18 +0100 |
commit | fd5722e5cdb233bbc47e782e10b3b5e3488a22fa (patch) | |
tree | c9f0abef065595eee14ccbe01a494cba85be7648 /sound | |
parent | d11bb4a925613fa814ed4ae350440eb24ebff336 (diff) | |
download | kernel_samsung_tuna-fd5722e5cdb233bbc47e782e10b3b5e3488a22fa.zip kernel_samsung_tuna-fd5722e5cdb233bbc47e782e10b3b5e3488a22fa.tar.gz kernel_samsung_tuna-fd5722e5cdb233bbc47e782e10b3b5e3488a22fa.tar.bz2 |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index f04a116..c6b3f1e 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, 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); } |