diff mbox

[4/4] ASoC: rt5645: Correct the cache sync function

Message ID 1399531657-31793-4-git-send-email-oder_chiou@realtek.com (mailing list archive)
State Accepted
Commit 0f776efd86282ec750c26dbb1c2fd04b94949a28
Headers show

Commit Message

Oder Chiou May 8, 2014, 6:47 a.m. UTC
The patch corrects the cache sync function

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
---
 sound/soc/codecs/rt5645.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 4be9000..6db6f81 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;
 }