Skip to contentSkip to conversation

ASoC: wm_adsp: Provide explicit trace of coefficient writes

PATCH New Mark Brown 1 participant 1 message Jan 13, 2013

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: wm_adsp: Provide explicit trace of coefficient writes

Helpful for debugging.

---
 sound/soc/codecs/wm_adsp.c |    3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/wm_adsp.c +3 -0
index 4a233b8..14af8e2 100644
@@ -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) {
Signature · 1 line
1.7.10.4