Skip to content

Commit

Permalink
ASoC: da732x: Remove unnecessary idle_bias_off initialization
Browse files Browse the repository at this point in the history
idle_bias_off is false by default, no need to set it explicitly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Sep 9, 2014
1 parent 02bf34f commit f66a91f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/codecs/da732x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,12 +1511,9 @@ static int da732x_set_bias_level(struct snd_soc_codec *codec,
static int da732x_probe(struct snd_soc_codec *codec)
{
struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);
struct snd_soc_dapm_context *dapm = &codec->dapm;

da732x->codec = codec;

dapm->idle_bias_off = false;

da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);

return 0;
Expand Down

0 comments on commit f66a91f

Please sign in to comment.