summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-16 18:30:44 +0200
committerMark Brown <broonie@linaro.org>2013-10-19 22:24:31 +0200
commitebce31140c2ddfda005e88957ac1ee1eacaa8dc5 (patch)
treec587617509967b9924c2f8aa5ef4c58421580ae4 /sound/soc/codecs/rt5640.c
parentASoC: rt5640: Power down LDO while suspended (diff)
downloadlinux-ebce31140c2ddfda005e88957ac1ee1eacaa8dc5.tar.xz
linux-ebce31140c2ddfda005e88957ac1ee1eacaa8dc5.zip
ASoC: rt5640: Don't go to standby on resume
There is no need for the CODEC to go to standby on resume since the core will power it up as needed and in any case it is an idle_bias_off CODEC so would normally sit with bias off while idle. Signed-off-by: Mark Brown <broonie@linaro.org> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'sound/soc/codecs/rt5640.c')
-rw-r--r--sound/soc/codecs/rt5640.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index b0cde92be7eb..4d041d376f31 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -1993,7 +1993,6 @@ static int rt5640_resume(struct snd_soc_codec *codec)
gpio_set_value_cansleep(rt5640->pdata.ldo1_en, 1);
msleep(400);
}
- rt5640_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;
}