aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-31 09:51:29 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-31 10:24:58 -0500
commit67f97f5c3edad35c4d37a94f994c76111a177fb6 (patch)
tree92cfb590a10823ce70b8eb88116f486a46a2549c /sound
parentee76744c51ec342df9822b4a85dbbfc3887b6d60 (diff)
ASoC: wm8994: Remove ASoC level register cache sync
Now we've switched over to regmap the ASoC level cache sync will be ineffectual and potentially harmful as there is no longer an ASoC level cache. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 93d27b660257..8623950d55f8 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2753,11 +2753,6 @@ static int wm8994_resume(struct snd_soc_codec *codec)
2753 codec->cache_only = 0; 2753 codec->cache_only = 0;
2754 } 2754 }
2755 2755
2756 /* Restore the registers */
2757 ret = snd_soc_cache_sync(codec);
2758 if (ret != 0)
2759 dev_err(codec->dev, "Failed to sync cache: %d\n", ret);
2760
2761 wm8994_set_bias_level(codec, SND_SOC_BIAS_STANDBY); 2756 wm8994_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
2762 2757
2763 for (i = 0; i < ARRAY_SIZE(wm8994->fll); i++) { 2758 for (i = 0; i < ARRAY_SIZE(wm8994->fll); i++) {