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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 19:05:08 +0000 (11:05 -0800)
commit79b58c63bf721d301292f0cff4255e4c4d9887fe
treefbb38057a1466a56da88204e2f45b4d5b5057584
parent9753c75ab81ed8938f02b3da94562e45b45b9dae
ASoC: wm_adsp: Interpret ADSP memory region lengths as 32 bit words

commit c01422a4a184a183b03fb3046af88d61828f6d56 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm_adsp.c