From: Mark Brown Date: Tue, 31 Jan 2012 14:51:29 +0000 (+0000) Subject: ASoC: wm8994: Remove ASoC level register cache sync X-Git-Tag: v3.3-rc3~6^2^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67f97f5c3edad35c4d37a94f994c76111a177fb6;p=platform%2Fkernel%2Flinux-exynos.git 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 --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 93d27b6..8623950 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) codec->cache_only = 0; } - /* Restore the registers */ - ret = snd_soc_cache_sync(codec); - if (ret != 0) - dev_err(codec->dev, "Failed to sync cache: %d\n", ret); - wm8994_set_bias_level(codec, SND_SOC_BIAS_STANDBY); for (i = 0; i < ARRAY_SIZE(wm8994->fll); i++) {