]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbe829efa8d2ec0f10954c6a2338e84c64d71a7a
tree550e4d22e47a61e69abe327ad8bcf45d131a9dcd
parent43d5e7d70a7764b524f58538bfb31c0904147e08
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