OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8ea6d
)
ASoC: wm_adsp: Use correct local length in error message
author
Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>
Thu, 10 Mar 2016 10:46:07 +0000
(10:46 +0000)
committer
Mark Brown
<broonie@kernel.org>
Fri, 11 Mar 2016 07:21:13 +0000
(14:21 +0700)
Fixes:
44029e9e1290
("ASoC: wm_adsp: wm_coeff_{read|write}_control should use passed length")
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.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
36687db
..
ba9213c
100644
(file)
--- a/
sound/soc/codecs/wm_adsp.c
+++ b/
sound/soc/codecs/wm_adsp.c
@@
-787,7
+787,7
@@
static int wm_coeff_read_control(struct wm_coeff_ctl *ctl,
ret = regmap_raw_read(dsp->regmap, reg, scratch, len);
if (ret) {
adsp_err(dsp, "Failed to read %zu bytes from %x: %d\n",
-
ctl->
len, reg, ret);
+ len, reg, ret);
kfree(scratch);
return ret;
}