projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8dfad3
)
ASoC: ssm2602: Fix cache sync
author
Lars-Peter Clausen
<lars@metafoo.de>
Sat, 31 Aug 2013 16:15:23 +0000
(18:15 +0200)
committer
Mark Brown
<broonie@linaro.org>
Sat, 31 Aug 2013 17:18:00 +0000
(18:18 +0100)
The ssm2602 uses regmap for caching not soc-cache, so we need to use
regcache_sync() instead of snd_soc_cache_sync().
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/ssm2602.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/ssm2602.c
b/sound/soc/codecs/ssm2602.c
index f8d30e5f63714c4d58154b0bffebeee424b11dbc..492644e67ace909d2f6b71c7685259955f76661d 100644
(file)
--- a/
sound/soc/codecs/ssm2602.c
+++ b/
sound/soc/codecs/ssm2602.c
@@
-561,8
+561,9
@@
static int ssm2602_suspend(struct snd_soc_codec *codec)
static int ssm2602_resume(struct snd_soc_codec *codec)
{
- s
nd_soc_cache_sync
(codec);
+ s
truct ssm2602_priv *ssm2602 = snd_soc_codec_get_drvdata
(codec);
+ regcache_sync(ssm2602->regmap);
ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;