ASoC: wm_adsp: wm_coeff_{read|write}_control should use passed length
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 19 Feb 2016 14:44:44 +0000 (14:44 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 20 Feb 2016 18:08:19 +0000 (03:08 +0900)
commit4f8ea6d759f6ed5d448472143cef7681e319c958
tree5f7440dd3a7ae4ec42cde37ebbbf5b9c29d904eb
parent7d00cd975a52e637da19548c1cc7d87a0a32b49c
ASoC: wm_adsp: wm_coeff_{read|write}_control should use passed length

wm_coeff_{read|write}_control were using the control length rather than
the length parameter passed to them. This is not causing any issues as
the two values are currently always the same, but this needs fixed to
allow future improvements.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c