Skip to content

Commit

Permalink
ASoC: Remove redundant regcache_sync call in cs42l73_resume
Browse files Browse the repository at this point in the history
It's done in cs42l73_set_bias_level when the dapm.bias_level is switching
from SND_SOC_BIAS_OFF to SND_SOC_BIAS_STANDBY.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 21, 2011
1 parent 8421f62 commit afe7130
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sound/soc/codecs/cs42l73.c
Original file line number Diff line number Diff line change
Expand Up @@ -1270,10 +1270,6 @@ static int cs42l73_suspend(struct snd_soc_codec *codec, pm_message_t state)

static int cs42l73_resume(struct snd_soc_codec *codec)
{

struct cs42l73_private *cs42l73 = snd_soc_codec_get_drvdata(codec);
regcache_sync(cs42l73->regmap);

cs42l73_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;
}
Expand Down

0 comments on commit afe7130

Please sign in to comment.