[alsa-devel] [PATCH] ASoC: factor out intel_scu_ipc related read/write

Mark Brown broonie at opensource.wolfsonmicro.com
Mon May 9 09:31:28 CEST 2011

On Mon, May 09, 2011 at 08:44:23AM +0530, Koul, Vinod wrote:

> Meanwhile, i am not sure if this is a good idea.
> We can try enabling cache but will it help? Have you tried that on mrst?

The I/O does not force use of a cache, unless you configure a cache size
nothing will be cached.

> The reason for my paranoia is the SCU API, in past it had issues when we
> do block writes it, something which syncing the cache can cause.
> + Alan for his comments...

The cache I/O won't make any difference here.  Unless you implement bulk
operations it's not going to magically work out how to do them - you'll
just see repeated single register operations the same as you see if you
implement this directly in your driver.  All that will happen is that
the code will be shared between all drivers using the SCU.

More information about the Alsa-devel mailing list