ASoC: Add register write logging for WM8994

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
Mark Brown 2010-05-10 14:55:04 +01:00
parent d11bb4a925
commit fd5722e5cd

View 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);
}