Commit f66a91ff authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

ASoC: da732x: Remove unnecessary idle_bias_off initialization

idle_bias_off is false by default, no need to set it explicitly.
Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 02bf34f4
...@@ -1511,12 +1511,9 @@ static int da732x_set_bias_level(struct snd_soc_codec *codec, ...@@ -1511,12 +1511,9 @@ static int da732x_set_bias_level(struct snd_soc_codec *codec,
static int da732x_probe(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 da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);
struct snd_soc_dapm_context *dapm = &codec->dapm;
da732x->codec = codec; da732x->codec = codec;
dapm->idle_bias_off = false;
da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY); da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment