ASoC: wm_adsp: Provide explicit trace of coefficient writes
Subsystems (3)
PATCH 1/1 ASoC: wm_adsp: Provide explicit trace of coefficient writes
Helpful for debugging.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/wm_adsp.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/wm_adsp.c +3 -0
@@ -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