Browse Source

ASoC: wm_adsp: Provide explicit trace of coefficient writes

Helpful for debugging.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 12 years ago
parent
commit
20da6d5ac0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sound/soc/codecs/wm_adsp.c

+ 3 - 0
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) {