ASoC: Fix wm8753 register cache size and initialization
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 2 Jul 2009 23:04:16 +0000 (01:04 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 13:35:49 +0000 (14:35 +0100)
commit637a935aaba2f05e2178c9d1b714d7a2c36c8b44
tree3778eafa169995894fed3b31e4e197d427a727f1
parent0827d6ba0b76be398a3c4298afd41f4965d2cdcb
ASoC: Fix wm8753 register cache size and initialization

Register cache space was not being allocated for the final register,
causing bugs when it was used.  Allocate space for it.

Also ensure that the final register is displayed in sysfs.

[Commit message rewritten to document actual issue. -- broonie]

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8753.c