Skip to content

Commit

Permalink
ASoC: wm2200: 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>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Mar 17, 2015
1 parent 78bb997 commit f263fa3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f263fa3

Please sign in to comment.