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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9d1974ea13b361bf60a9d493a6a05e5a42b0ba2;p=openwrt%2Fstaging%2Fblogic.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 32d6c5141860..c9e0fdbf0565 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 */