[alsa-devel] [PATCH 4/4] ASoC: rt5645: Correct the cache sync function
Oder Chiou
oder_chiou at realtek.com
Thu May 8 08:47:37 CEST 2014
The patch corrects the cache sync function
Signed-off-by: Oder Chiou <oder_chiou at realtek.com>
---
sound/soc/codecs/rt5645.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 4be9000..6db6f81 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;
}
--
1.8.1.1.439.g50a6b54
More information about the Alsa-devel
mailing list