[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:30:12 CET 2011
On Fri, Feb 11, 2011 at 03:21:03PM +0000, Dimitris Papastamos wrote:
> 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?
>
> Em, make WM8994_POWER_MANAGEMENT_5 a volatile register? That is sort of
> a hack but I can't think of anything else.
Now that I think about it, that won't work. We still need to be able to
sync the other bitfields in that register on resume.
Thanks,
Dimitris
More information about the Alsa-devel
mailing list