2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00

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>
This commit is contained in:
Oder Chiou 2014-05-08 14:47:37 +08:00 committed by Mark Brown
parent 4809b96ebb
commit 0f776efd86

View 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;
}