aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-12 19:58:17 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-21 17:46:35 +0900
commit20da6d5ac05905833db4b339b57b9dcbd21b6152 (patch)
treec3acb8f8d171564d6b09a1c62a0bc098d4664942 /sound/soc/codecs/wm_adsp.c
parent69485d3e6d6839b46a56c77d2dffad18cb7d373f (diff)
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) {