diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-07 15:30:00 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-10 05:35:25 -0400 |
commit | 29e189c29d33d273424327ca4c1a74d8cdc04f48 (patch) | |
tree | 75c56fbe88d43f2f4ce20849267b8b230970850b /sound/soc/codecs/tlv320dac33.c | |
parent | d0bbc24d2ab78d9efc61bc80cfc85f59626ba5af (diff) |
ASoC: Remove unneeded suspend bias managment from CODEC drivers
The core will ensure that the device is in either STANDBY or OFF bias
before suspending, restoring the bias in the driver is unneeded. Some
drivers doing slightly more roundabout things have been left alone
for now.
Tested-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index ad5e2636c944..007fe830be46 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1386,9 +1386,6 @@ static int dac33_soc_resume(struct platform_device *pdev) | |||
1386 | struct snd_soc_codec *codec = socdev->card->codec; | 1386 | struct snd_soc_codec *codec = socdev->card->codec; |
1387 | 1387 | ||
1388 | dac33_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 1388 | dac33_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
1389 | if (codec->suspend_bias_level == SND_SOC_BIAS_ON) | ||
1390 | dac33_set_bias_level(codec, SND_SOC_BIAS_PREPARE); | ||
1391 | dac33_set_bias_level(codec, codec->suspend_bias_level); | ||
1392 | 1389 | ||
1393 | return 0; | 1390 | return 0; |
1394 | } | 1391 | } |