[alsa-devel] [PATCH 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jul 18 11:58:25 CEST 2008

On Thu, Jul 17, 2008 at 05:31:53PM -0600, Grant Likely wrote:
> On Sat, Jul 12, 2008 at 06:36:10PM +0100, Mark Brown wrote:

> > /sys/bus/platform/devices/soc-audio/codec_reg

> Yikes.  The AIC26 has registers all over the place and most of them are
> empty.  The codec_reg attribute handling means I need to maintain a
> cache of the entire register file; not just the part that is actually
> used.  Oh well; I can work around it.

Sparse (or sparsely used) register maps are pretty common - in practice
it's not been a problem to just have a cache that covers everything and
only gets read, the amount of data involved is rarely that large in the
context of what you need to store the audio you're working with.

More information about the Alsa-devel mailing list