Browse Source

ASoC: rt286: Drop unnecessary dapm bias_level initialization

The default value for the bias_level is SND_SOC_BIAS_OFF when probe is being
called, there is no need to initialize it explicitly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Lars-Peter Clausen 10 years ago
parent
commit
0dd96b3e39
1 changed files with 0 additions and 1 deletions
  1. 0 1
      sound/soc/codecs/rt286.c

+ 0 - 1
sound/soc/codecs/rt286.c

@@ -1048,7 +1048,6 @@ static int rt286_probe(struct snd_soc_codec *codec)
 	struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec);
 	struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec);
 
 
 	rt286->codec = codec;
 	rt286->codec = codec;
-	codec->dapm.bias_level = SND_SOC_BIAS_OFF;
 
 
 	if (rt286->i2c->irq) {
 	if (rt286->i2c->irq) {
 		regmap_update_bits(rt286->regmap,
 		regmap_update_bits(rt286->regmap,