diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-05-08 02:47:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-08 04:02:41 -0400 |
commit | 0f776efd86282ec750c26dbb1c2fd04b94949a28 (patch) | |
tree | 8fa776cc4ef2bc51f2c6f98a6f53d021db9576e3 | |
parent | 4809b96ebb301a8e6c9b61665bef70191fedd2dc (diff) |
ASoC: rt5645: Correct the cache sync function
The patch corrects the cache sync function
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/rt5645.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2235 | struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec); | 2235 | struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec); |
2236 | 2236 | ||
2237 | regcache_cache_only(rt5645->regmap, false); | 2237 | regcache_cache_only(rt5645->regmap, false); |
2238 | snd_soc_cache_sync(codec); | 2238 | regcache_sync(rt5645->regmap); |
2239 | 2239 | ||
2240 | return 0; | 2240 | return 0; |
2241 | } | 2241 | } |