[alsa-devel] [PATCH 1/2 v2] ASoC: soc-cache: block based rbtree compression
Takashi Iwai
tiwai at suse.de
Tue May 3 17:30:44 CEST 2011
At Tue, 3 May 2011 16:24:05 +0100,
Mark Brown wrote:
>
> On Tue, May 03, 2011 at 05:22:12PM +0200, Takashi Iwai wrote:
>
> > This is what I don't understand. The sync loop is anyway done in the
> > sorted order in rb-tree. How can the contiguous array helps to change
> > the I/O pattern...?
>
> You don't need to retransmit the I2C device address or the register
> address for every single register.
Is this behavior achieved really by these patches? As far as I read
these two patches, they change how values are stored in the rb-tree.
Now it'll be partially an array instead of one-value-per-node. But,
this doesn't change how snd_soc_read() / snd_soc_write() are called.
Could you give an example which driver would be influenced actually?
Takashi
More information about the Alsa-devel
mailing list