22 Jun
2012
22 Jun
'12
8:49 a.m.
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().