ASoC: Automatically assign the default readable()/volatile() functions
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Thu, 13 Jan 2011 12:20:38 +0000 (12:20 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Jan 2011 14:17:53 +0000 (14:17 +0000)
commit1500b7b5ffaacb8199e0a61162f5d349fb19acbe
tree7e8ed00274943950bc5dfd34f0fb9edf1d3f2199
parentd4754ec91c7b094298f0b2ba02327e6887671edc
ASoC: Automatically assign the default readable()/volatile() functions

Ensure that all calls to readable_register()/volatile_register() go via
the snd_soc_codec function pointers.

If the default register access table has been given but no functions
for handling readable()/volatile() registers, use the default ones provided
by soc-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>
include/sound/soc.h
sound/soc/soc-core.c