diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-09-27 05:08:47 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-27 06:21:40 -0400 |
commit | a9d1974ea13b361bf60a9d493a6a05e5a42b0ba2 (patch) | |
tree | 2657b0722b8e2fa342deb110f0e8d721f892fe5f /sound/soc/codecs/ssm2602.c | |
parent | d1b73287c2710f3b76f6980daa88cc719d11034f (diff) |
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 <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ssm2602.c')
-rw-r--r-- | sound/soc/codecs/ssm2602.c | 7 |
1 files changed, 6 insertions, 1 deletions
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) | |||
577 | break; | 577 | break; |
578 | } | 578 | } |
579 | 579 | ||
580 | return ret; | 580 | if (ret) |
581 | return ret; | ||
582 | |||
583 | ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | ||
584 | |||
585 | return 0; | ||
581 | } | 586 | } |
582 | 587 | ||
583 | /* remove everything here */ | 588 | /* remove everything here */ |