[alsa-devel] [PATCH V2 2/9] sound:asoc: Add support for STA529 Audio Codec

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 22 10:49:19 CEST 2012

On Fri, Jun 22, 2012 at 11:56:41AM +0530, Rajeev kumar wrote:
> On 6/21/2012 5:55 PM, Mark Brown wrote:

> >>+static int sta529_resume(struct snd_soc_codec *codec)
> >>>  +{
> >>>  +	snd_soc_cache_sync(codec);
> >You're not using the ASoC cache code.

> Point is not clear to me, you mean to say I need to use
> regcache_sync(sta529->regmap), please confirm.

You shouldn't be calling ASoC cache functions at all since you're not
using an ASoC cache.  There's no point in doing anything here as you're
doing your cache management in set_bias_level() but if you were then yes
you should be using regcache_sync().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120622/c638947c/attachment.sig 

More information about the Alsa-devel mailing list