[alsa-devel] [PATCH] ASoC: cs4270: fix dynamic initialization of register cache

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jan 6 22:31:39 CET 2011


On Thu, Jan 06, 2011 at 02:50:49PM -0600, Timur Tabi wrote:

> BTW, why does ASoC even care about the register cache, if I have to have my own
> functions to read and write it?  In other words, why does function
> cs4270_read_reg_cache() exist at all?  What is the point of having ASoC allocate
> the cache if the driver has to supply functions to read and write it?

If you're completely ignoring the standard cache and register I/O code
(which isn't ideal) then you should't be telling the core about your
cache.


More information about the Alsa-devel mailing list