diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-19 00:45:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-21 12:05:53 -0500 |
commit | afe713089a5cce680ff76fab554c42d5cbb577d0 (patch) | |
tree | e182ed04e6287be874db588a6b4c964f6adfd581 /sound | |
parent | 8421f620da9717dade941d0dc9570ad731b4a9ca (diff) |
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 <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/cs42l73.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 1b773bf4b52d..5544f1417a25 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) | |||
1270 | 1270 | ||
1271 | static int cs42l73_resume(struct snd_soc_codec *codec) | 1271 | static int cs42l73_resume(struct snd_soc_codec *codec) |
1272 | { | 1272 | { |
1273 | |||
1274 | struct cs42l73_private *cs42l73 = snd_soc_codec_get_drvdata(codec); | ||
1275 | regcache_sync(cs42l73->regmap); | ||
1276 | |||
1277 | cs42l73_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 1273 | cs42l73_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
1278 | return 0; | 1274 | return 0; |
1279 | } | 1275 | } |