[alsa-devel] [PATCH v2 1/3] ASoC: soc-cache: Add support for default readable()/volatile() functions
Liam Girdwood
lrg at slimlogic.co.uk
Thu Jan 13 14:31:12 CET 2011
On Thu, 2011-01-13 at 12:20 +0000, Dimitris Papastamos wrote:
> For common scenarios, device drivers can provide a table of all the
> registers that are at least either readable/writable/volatile. The idea
> is that if a register lookup fails, all of its read/write/vol members
> will be zero and will be treated as default. This also reduces the
> size of the register access array.
>
> Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
I think we may be getting to the point where we should probably look
into making this register cache functionality available to other non
ASoC I2C and SPI based drivers.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list