[alsa-devel] [PATCH v2 1/3] ASoC: soc-cache: Add support for default readable()/volatile() functions
broonie at opensource.wolfsonmicro.com
Thu Jan 13 15:08:55 CET 2011
On Thu, Jan 13, 2011 at 12:20:36PM +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.
Applied all three, thanks.
Liam was just mentioning on IM that it might be worth looking at pulling
the cache and I/O code out of ASoC for use by other I2C/SPI based
subsystems. I'll take a look at that.
More information about the Alsa-devel