]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rt286: Drop unnecessary dapm bias_level initialization
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 16 Mar 2015 15:39:56 +0000 (16:39 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2015 12:09:13 +0000 (12:09 +0000)
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>
sound/soc/codecs/rt286.c

index 49c44a77b5188d9ff2d12db124573ab2215ee156..ea967978ec6bc25220382f1cf656cd416ece7f18 100644 (file)
@@ -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,