diff options
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index efbd4449bd3..6edd3447f5a 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c @@ -73,6 +73,8 @@ static inline void wm8731_write_reg_cache(struct snd_soc_codec *codec, u16 *cache = codec->reg_cache; if (reg >= WM8731_CACHEREGNUM) return; + + printk(KERN_INFO "%s: reg %d, val %04x\n", __func__, reg, value); cache[reg] = value; } @@ -84,6 +86,8 @@ static int wm8731_write(struct snd_soc_codec *codec, unsigned int reg, { u8 data[2]; + printk(KERN_INFO "%s: reg %d val %04x\n", __func__, reg, value); + /* data is * D15..D9 WM8731 register offset * D8...D0 register data |