ASoC: Fix incorrect register cache size configuration
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Fri, 10 Sep 2010 17:14:56 +0000 (18:14 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Sep 2010 21:21:23 +0000 (22:21 +0100)
commite5eec34c68eab7af8fe10d070cb0c948f73a8464
treebcfa506768bd8bbaa0302bb123234e7ba64a3f22
parentc7bad06f1305be2cfa68ad58dc3391261162db4e
ASoC: Fix incorrect register cache size configuration

The reg_cache_size is the number of elements in the register cache,
not the size of the cache itself. This is not a problem if the size
of each element of the cache is 1 byte but it matters in any other
case.

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>
17 files changed:
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8728.c
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8741.c
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8753.c
sound/soc/codecs/wm8776.c
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8940.c
sound/soc/codecs/wm8961.c
sound/soc/codecs/wm8988.c
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm9081.c
sound/soc/codecs/wm9705.c
sound/soc/codecs/wm9712.c
sound/soc/codecs/wm9713.c