ASoC: Need to convert wm5100 cache sync to direct regmap usage too
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Nov 2011 16:29:07 +0000 (16:29 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Nov 2011 16:33:23 +0000 (16:33 +0000)
ASoC knows nothing about the cache now.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm5100.c

index b2d1f80648ff90837620f4056085a2559e4729ee..340ffe20b53bbd5fac460c9c548ebf7e0d85a4d3 100644 (file)
@@ -1400,7 +1400,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
                                break;
                        }
 
-                       snd_soc_cache_sync(codec);
+                       regcache_sync(wm5100->regmap);
                }
                break;