ASoC: wm_adsp: Interpret ADSP memory region lengths as 32 bit words
authorNariman Poushin <nariman@opensource.wolfsonmicro.com>
Mon, 4 Nov 2013 12:03:44 +0000 (12:03 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 4 Nov 2013 16:57:25 +0000 (08:57 -0800)
commitc01422a4a184a183b03fb3046af88d61828f6d56
treea57d5b76229a4df5d00181c7b2da96b303e13163
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52
ASoC: wm_adsp: Interpret ADSP memory region lengths as 32 bit words

Pad the ADSP word (3 bytes) to 4 bytes in the kernel and calculate
lengths based on padded ADSP words instead of treating them as bytes

Signed-off-by: Nariman Poushin <nariman@opensource.wolfsonmicro.com>
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm_adsp.c