Skip to content

Commit

Permalink
ASoC: rt286: Drop unnecessary dapm bias_level initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Mar 17, 2015
1 parent 5af76d5 commit 0dd96b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/rt286.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,6 @@ static int rt286_probe(struct snd_soc_codec *codec)
struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec);

rt286->codec = codec;
codec->dapm.bias_level = SND_SOC_BIAS_OFF;

if (rt286->i2c->irq) {
regmap_update_bits(rt286->regmap,
Expand Down

0 comments on commit 0dd96b3

Please sign in to comment.