From 0f776efd86282ec750c26dbb1c2fd04b94949a28 Mon Sep 17 00:00:00 2001 From: Oder Chiou Date: Thu, 8 May 2014 14:47:37 +0800 Subject: [PATCH] ASoC: rt5645: Correct the cache sync function The patch corrects the cache sync function Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- sound/soc/codecs/rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 0165e07f09ab..30410eb5b982 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -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; } -- 2.39.5