[alsa-devel] [PATCH 1/2 2.6.38] ASoC: soc-cache: Introduce the cache_bypass option

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Fri Feb 11 16:46:54 CET 2011


On Fri, Feb 11, 2011 at 03:18:26PM +0000, Mark Brown wrote:
> On Fri, Feb 11, 2011 at 02:54:01PM +0000, Dimitris Papastamos wrote:
> > This is primarily needed to avoid writing back to the cache
> > whenever we are syncing the cache with the hardware.  This gives a
> > performance benefit especially for large register maps.
> 
> Hrm, this is a rather large and invasive patch to be applying as part of
> a bug fix for a specific driver this late in the release process.  Can
> we do something driver specific for the 2.6.38 release?

Would this be acceptable?  In wm8994_resume():

/* force a HW read */
val = wm8994_reg_read(codec->control_data, WM8994_POWER_MANAGEMENT_5);

instead of the call to snd_soc_read().

Thanks,
Dimitris


More information about the Alsa-devel mailing list