]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca1b9b8dc9edf02d63a187df45568002a06ad232
tree5f7440dd3a7ae4ec42cde37ebbbf5b9c29d904eb
parent4a130279f94f425abe965d244ca31733ee8315e4
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