summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2014-05-08 14:47:37 +0800
committerMark Brown <broonie@linaro.org>2014-05-08 09:02:41 +0100
commit0f776efd86282ec750c26dbb1c2fd04b94949a28 (patch)
tree8fa776cc4ef2bc51f2c6f98a6f53d021db9576e3 /sound/soc
parent4809b96ebb301a8e6c9b61665bef70191fedd2dc (diff)
downloadblackbird-op-linux-0f776efd86282ec750c26dbb1c2fd04b94949a28.tar.gz
blackbird-op-linux-0f776efd86282ec750c26dbb1c2fd04b94949a28.zip
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>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/rt5645.c2
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)
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;
}
OpenPOWER on IntegriCloud