From: Dimitris Papastamos Date: Fri, 1 Nov 2013 15:56:55 +0000 (+0000) Subject: ASoC: wm_adsp: Add debug info on get()/put() transfers X-Git-Tag: v3.13-rc1~2^2~33^2~47^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=562c5e6f52bc9ed48b8dc9cef97923b64bd843ec;p=kernel%2Fkernel-generic.git ASoC: wm_adsp: Add debug info on get()/put() transfers Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 4008ceb..1f1fc0d 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -401,6 +401,7 @@ static int wm_coeff_write_control(struct snd_kcontrol *kcontrol, kfree(scratch); return ret; } + adsp_dbg(adsp, "Wrote %zu bytes to %x\n", ctl->len, reg); kfree(scratch); @@ -455,6 +456,7 @@ static int wm_coeff_read_control(struct snd_kcontrol *kcontrol, kfree(scratch); return ret; } + adsp_dbg(adsp, "Read %zu bytes from %x\n", ctl->len, reg); memcpy(buf, scratch, ctl->len); kfree(scratch);