[alsa-devel] [PATCH 2/4] ASoC: soc-cache: Add support for flat register caching

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Fri Nov 5 12:45:59 CET 2010


On Thu, 2010-11-04 at 14:31 -0400, Mark Brown wrote:

> > @@ -680,6 +722,8 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
> >  		return -EINVAL;
> >  	}
> >  
> > +	mutex_init(&cache_rw_mutex);
> > +
> 
> I'd kind of expect this to be with the other cache setup?

Aw yes, I'll move it into the snd_soc_cache_init() function.

Thanks,
Dimitrios



More information about the Alsa-devel mailing list