diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2013-01-11 17:01:00 +0100 | 
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-11 23:54:57 +0000 | 
| commit | 156db9f3bb3c210cdf905172f6063c90c4a62c3c (patch) | |
| tree | 15f3c78a306da27b3dd4c04cfc0631ffe529ae0e | |
| parent | 09a8b6719caecff6c08d505c1f7126b7be68663a (diff) | |
| download | olio-linux-3.10-156db9f3bb3c210cdf905172f6063c90c4a62c3c.tar.xz olio-linux-3.10-156db9f3bb3c210cdf905172f6063c90c4a62c3c.zip  | |
ASoC: twl6040: Only set the bias_level once in twl6040_resume()
No need to set the bias_level twice to _STANDBY - since this is the only
state the device could be at suspend time. The driver do not support
idle_bias_off yet.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| -rw-r--r-- | sound/soc/codecs/twl6040.c | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index ef31ace41d5..86f12a498f3 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -1115,7 +1115,6 @@ static int twl6040_suspend(struct snd_soc_codec *codec)  static int twl6040_resume(struct snd_soc_codec *codec)  {  	twl6040_set_bias_level(codec, SND_SOC_BIAS_STANDBY); -	twl6040_set_bias_level(codec, codec->dapm.suspend_bias_level);  	return 0;  }  |