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:
quoted
/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.