Skip to content

Commit

Permalink
ASoC: Add register write logging for WM8994
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed May 11, 2010
1 parent d11bb4a commit fd5722e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fd5722e

Please sign in to comment.