ASoC: cs4270: use the built-in register cache support
authorTimur Tabi <timur@freescale.com>
Mon, 10 Jan 2011 19:28:32 +0000 (13:28 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Jan 2011 22:32:24 +0000 (22:32 +0000)
commit11b8fca53a84992c74f05a091102c32eb40f1a08
tree479984c80ec8bda61b11ea8963c9bee3ef44f627
parentb60fc60ceab36cbba218888b52e87998fca06936
ASoC: cs4270: use the built-in register cache support

Update the CS4270 driver to use ASoC's internal codec register cache feature.
This change allows ASoC to perform the low-level I2C operations necessary to
read the register cache.  Support is also added for initializing the register
cache with an array of known power-on default values.

The CS4270 driver was handling the register cache itself, but somwhere along
the conversion to multi-compaonent, this feature broke.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs4270.c