ASoC: Fix off-by-one bug in WM8962 register cache size configuration
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Fri, 10 Sep 2010 17:24:08 +0000 (18:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Sep 2010 09:45:00 +0000 (10:45 +0100)
commit6946e037ee9e94a560a931fdb2e3e66964216cfe
treeec8c9c47bbea26eaf9c6b7a2232bc825085e5c22
parente5eec34c68eab7af8fe10d070cb0c948f73a8464
ASoC: Fix off-by-one bug in WM8962 register cache size configuration

This is a simple off-by-one bug, the size of the register cache is
incorrectly set to the maximum register index. Fix it by adding one.

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/codecs/wm8962.c