ASoC: rt5645: Correct the cache sync function
authorOder Chiou <oder_chiou@realtek.com>
Thu, 8 May 2014 06:47:37 +0000 (14:47 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 8 May 2014 08:02:41 +0000 (09:02 +0100)
The patch corrects the cache sync function

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5645.c

index 0165e07f09ab762ebfaca98fdb0c6e5a152fab9e..30410eb5b982e1ed99e3743a9d28077419950751 100644 (file)
@@ -2235,7 +2235,7 @@ static int rt5645_resume(struct snd_soc_codec *codec)
        struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec);
 
        regcache_cache_only(rt5645->regmap, false);
-       snd_soc_cache_sync(codec);
+       regcache_sync(rt5645->regmap);
 
        return 0;
 }