Skip to contentSkip to conversation

ASoC: Remove redundant regcache_sync call in cs42l73_resume

PATCH Applied Axel Lin 2 participants 2 messages Nov 19, 2011 – Nov 21, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Remove redundant regcache_sync call in cs42l73_resume

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.

---
 sound/soc/codecs/cs42l73.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
sound/soc/codecs/cs42l73.c +0 -4
index 066d869..e8a62fe 100644
@@ -1271,10 +1271,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;
 }
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

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.

Applied, thanks.