ASoC: Fix soc-cache buffer overflow bug
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 21 Sep 2010 14:03:26 +0000 (15:03 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Sep 2010 11:01:05 +0000 (12:01 +0100)
commitd47372e852391d0c6553dfbc7c4c56b89b527e13
tree39319d653d6d29443de9392f89c30f6d1be27e36
parentcbfa5184cc5f58627f08c7fad225424f565b439d
ASoC: Fix soc-cache buffer overflow bug

Make sure we stay within the cache boundaries when updating the
register 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