Skip to content

Commit

Permalink
ASoC: rt5645: Correct the cache sync function
Browse files Browse the repository at this point in the history
The patch corrects the cache sync function

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Oder Chiou authored and Mark Brown committed May 8, 2014
1 parent 4809b96 commit 0f776ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/rt5645.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0f776ef

Please sign in to comment.