From: Lars-Peter Clausen Date: Tue, 27 Sep 2011 09:08:47 +0000 (+0200) Subject: ASoC: ssm2602: Set initial bias level to standby X-Git-Tag: v3.3-rc1~14^2~651 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9d1974ea13b361bf60a9d493a6a05e5a42b0ba2;p=platform%2Fkernel%2Flinux-exynos.git ASoC: ssm2602: Set initial bias level to standby Set the initial bias level to standby during CODEC probe instead of leaving the CODEC powered off. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 32d6c51..c9e0fdb 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c @@ -577,7 +577,12 @@ static int ssm260x_probe(struct snd_soc_codec *codec) break; } - return ret; + if (ret) + return ret; + + ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY); + + return 0; } /* remove everything here */