Skip to content

Commit

Permalink
ASoC: wm8994: Remove ASoC level register cache sync
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Jan 31, 2012
1 parent ee76744 commit 67f97f5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 67f97f5

Please sign in to comment.