ASoC: wm_adsp: Provide explicit trace of coefficient writes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 12 Jan 2013 19:58:17 +0000 (19:58 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 21 Jan 2013 08:46:35 +0000 (17:46 +0900)
Helpful for debugging.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c

index 76ca176eac0712a973b03a8b8d5e152fdc475628..bc5e38385996f9e3139a548d3a70545e9736cea0 100644 (file)
@@ -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) {