From: Lars-Peter Clausen Date: Mon, 16 Mar 2015 15:39:57 +0000 (+0100) Subject: ASoC: wm2200: Drop unnecessary dapm bias_level initialization X-Git-Tag: firefly_0821_release~176^2~1862^2~14^2^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f263fa3e0f0b1d610f7a9d72a91fe67059d5564f;p=firefly-linux-kernel-4.4.55.git ASoC: wm2200: 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 Acked-by: Charles Keepax Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index b48694a8d213..5a9da28f4f33 100644 --- a/sound/soc/codecs/wm2200.c +++ b/sound/soc/codecs/wm2200.c @@ -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)