]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefb777a8ffa5e2365f7130e2a5da5baf2c912660
tree3778eafa169995894fed3b31e4e197d427a727f1
parentc6f9013fdcc01207627e24e9fe517395e61ede0d
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