projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7328823
)
ASoC: wm_adsp: Add debug info on get()/put() transfers
author
Dimitris Papastamos
<dp@opensource.wolfsonmicro.com>
Fri, 1 Nov 2013 15:56:55 +0000
(15:56 +0000)
committer
Mark Brown
<broonie@linaro.org>
Fri, 1 Nov 2013 17:48:36 +0000
(10:48 -0700)
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm_adsp.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm_adsp.c
b/sound/soc/codecs/wm_adsp.c
index 4008ceb77c5b1ad23718f93761f7a831d3ebe726..1f1fc0dd716edb3b314cd51c8d831e21d7bb8fa1 100644
(file)
--- 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);