From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dimitris Papastamos Subject: Re: [PATCH 2/4] ASoC: soc-cache: Add support for flat register caching Date: Fri, 05 Nov 2010 11:45:59 +0000 Message-ID: <1288957559.8256.21.camel@dplaptop> References: <1288880564-31957-1-git-send-email-dp@opensource.wolfsonmicro.com> <1288880564-31957-3-git-send-email-dp@opensource.wolfsonmicro.com> <20101104183140.GD6088@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id DF88410388B for ; Fri, 5 Nov 2010 12:46:01 +0100 (CET) In-Reply-To: <20101104183140.GD6088@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Liam Girdwood List-Id: alsa-devel@alsa-project.org 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