ASoC: soc-cache: Fix invalid memory access during snd_soc_lzo_cache_sync()
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 11 Jan 2011 11:24:02 +0000 (11:24 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Jan 2011 18:27:08 +0000 (18:27 +0000)
commit04f8fd176c9c105dc0025486cfab9dc779288b3e
tree550e4d22e47a61e69abe327ad8bcf45d131a9dcd
parentf4fd58d65e05850a80bba4ee3929e3b696fbc5eb
ASoC: soc-cache: Fix invalid memory access during snd_soc_lzo_cache_sync()

The size of the lzo syncing bitmap was incorrectly set to the size
of the cache times the word size, however, the correct size is the
size of the cache.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-cache.c