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>
This commit is contained in:
Lars-Peter Clausen 2011-09-27 11:08:47 +02:00 committed by Mark Brown
parent d1b73287c2
commit a9d1974ea1

View file

@ -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 */