summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-12 20:58:17 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-21 09:46:35 +0100
commit20da6d5ac05905833db4b339b57b9dcbd21b6152 (patch)
treec3acb8f8d171564d6b09a1c62a0bc098d4664942 /sound/soc/codecs/wm_adsp.c
parentMerge remote-tracking branch 'asoc/fix/adsp' into asoc-adsp (diff)
downloadlinux-20da6d5ac05905833db4b339b57b9dcbd21b6152.tar.xz
linux-20da6d5ac05905833db4b339b57b9dcbd21b6152.zip
ASoC: wm_adsp: Provide explicit trace of coefficient writes
Helpful for debugging. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 76ca176eac07..bc5e38385996 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -793,6 +793,9 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp)
return -ENOMEM;
}
+ adsp_dbg(dsp, "%s.%d: Writing %d bytes at %x\n",
+ file, blocks, le32_to_cpu(blk->len),
+ reg);
ret = regmap_raw_write(regmap, reg, blk->data,
le32_to_cpu(blk->len));
if (ret != 0) {