ASoC: wm2200: Drop unnecessary dapm bias_level initialization
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 16 Mar 2015 15:39:57 +0000 (16:39 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2015 12:09:41 +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>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm2200.c

index b48694a8d213703a84ed139d24b7dbcf19d2af71..5a9da28f4f333c120689674eea1f802b6bcfb6d1 100644 (file)
@@ -1554,7 +1554,6 @@ static int wm2200_probe(struct snd_soc_codec *codec)
        int ret;
 
        wm2200->codec = codec;
-       codec->dapm.bias_level = SND_SOC_BIAS_OFF;
 
        ret = snd_soc_add_codec_controls(codec, wm_adsp1_fw_controls, 2);
        if (ret != 0)