From: Mark Brown Date: Sat, 12 Jan 2013 19:58:17 +0000 (+0000) Subject: ASoC: wm_adsp: Provide explicit trace of coefficient writes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=20da6d5ac05905833db4b339b57b9dcbd21b6152;p=deliverable%2Flinux.git ASoC: wm_adsp: Provide explicit trace of coefficient writes Helpful for debugging. Signed-off-by: Mark Brown --- 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) {