From: Axel Lin Date: Sat, 19 Nov 2011 05:45:34 +0000 (+0800) Subject: ASoC: Remove redundant regcache_sync call in cs42l73_resume X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=afe713089a5cce680ff76fab554c42d5cbb577d0;p=~shefty%2Frdma-dev.git 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. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 1b773bf4b52..5544f1417a2 100644 --- a/sound/soc/codecs/cs42l73.c +++ b/sound/soc/codecs/cs42l73.c @@ -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; }