[alsa-devel] [PATCH] [v2] ASoC: cs4270: use the built-in register cache support

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Mon Jan 10 17:24:49 CET 2011

On Mon, 2011-01-10 at 10:01 -0600, Timur Tabi wrote:
> 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 at freescale.com>

Have you tried using the patch I've submitted today?  Using a defaults
register cache is indeed idiomatic, however, ASoC should be able to
handle NULL defaults register maps with custom read()/write() callbacks.


More information about the Alsa-devel mailing list