ASoC: Fix soc-cache buffer overflow bug
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 21 Sep 2010 13:12:35 +0000 (14:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Sep 2010 17:43:40 +0000 (18:43 +0100)
commitfa6d52938906305356555e37e38939c7bad8fd7a
treed8a5b909d990697bd57e7f83bbe06b61d0b54f4a
parent0b25ad0571e9208c2bd1302a41ce219794c6f901
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