[alsa-devel] [PATCH] ASoC: wm_adsp: Provide explicit trace of coefficient writes
12 Jan
2013
12 Jan
'13
10:31 p.m.
Helpful for debugging.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com --- sound/soc/codecs/wm_adsp.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 4a233b8..14af8e2 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -775,6 +775,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) {
--
1.7.10.4
4320
Age (days ago)
4320
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown