Skip to content

Commit

Permalink
ASoC: ssm2602: Set initial bias level to standby
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Sep 27, 2011
1 parent d1b7328 commit a9d1974
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sound/soc/codecs/ssm2602.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a9d1974

Please sign in to comment.