forked from Minki/linux
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:
parent
d11bb4a925
commit
fd5722e5cd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user