aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/uda1380.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-07 20:30:00 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-05-10 10:35:25 +0100
commit29e189c29d33d273424327ca4c1a74d8cdc04f48 (patch)
tree75c56fbe88d43f2f4ce20849267b8b230970850b /sound/soc/codecs/uda1380.c
parentASoC: SMDK64XX: Switch to IISv4 CPU driver (diff)
downloadlinux-dev-29e189c29d33d273424327ca4c1a74d8cdc04f48.tar.xz
linux-dev-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/uda1380.c')
-rw-r--r--sound/soc/codecs/uda1380.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c
index ecba686563aa..2f925a27dcde 100644
--- a/sound/soc/codecs/uda1380.c
+++ b/sound/soc/codecs/uda1380.c
@@ -670,7 +670,6 @@ static int uda1380_resume(struct platform_device *pdev)
codec->hw_write(codec->control_data, data, 2);
}
uda1380_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
- uda1380_set_bias_level(codec, codec->suspend_bias_level);
return 0;
}