summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cq93vc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-07 21:30:00 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-10 11:35:25 +0200
commit29e189c29d33d273424327ca4c1a74d8cdc04f48 (patch)
tree75c56fbe88d43f2f4ce20849267b8b230970850b /sound/soc/codecs/cq93vc.c
parentASoC: SMDK64XX: Switch to IISv4 CPU driver (diff)
downloadlinux-29e189c29d33d273424327ca4c1a74d8cdc04f48.tar.xz
linux-29e189c29d33d273424327ca4c1a74d8cdc04f48.zip
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/cq93vc.c')
-rw-r--r--sound/soc/codecs/cq93vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index 8f19b9310645..a320fb5a0e26 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -153,7 +153,7 @@ static int cq93vc_resume(struct platform_device *pdev)
struct snd_soc_device *socdev = platform_get_drvdata(pdev);
struct snd_soc_codec *codec = socdev->card->codec;
- cq93vc_set_bias_level(codec, codec->suspend_bias_level);
+ cq93vc_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;
}