aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8728.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-07 15:30:00 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-10 05:35:25 -0400
commit29e189c29d33d273424327ca4c1a74d8cdc04f48 (patch)
tree75c56fbe88d43f2f4ce20849267b8b230970850b /sound/soc/codecs/wm8728.c
parentd0bbc24d2ab78d9efc61bc80cfc85f59626ba5af (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/wm8728.c')
-rw-r--r--sound/soc/codecs/wm8728.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c
index 3fb653ba363a..bf56a58d0916 100644
--- a/sound/soc/codecs/wm8728.c
+++ b/sound/soc/codecs/wm8728.c
@@ -237,7 +237,7 @@ static int wm8728_resume(struct platform_device *pdev)
237 struct snd_soc_device *socdev = platform_get_drvdata(pdev); 237 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
238 struct snd_soc_codec *codec = socdev->card->codec; 238 struct snd_soc_codec *codec = socdev->card->codec;
239 239
240 wm8728_set_bias_level(codec, codec->suspend_bias_level); 240 wm8728_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
241 241
242 return 0; 242 return 0;
243} 243}