Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f776efd authored by Oder Chiou's avatar Oder Chiou Committed by Mark Brown
Browse files

ASoC: rt5645: Correct the cache sync function



The patch corrects the cache sync function

Signed-off-by: default avatarOder Chiou <oder_chiou@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 4809b96e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}