diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-16 11:39:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-17 08:09:41 -0400 |
commit | f263fa3e0f0b1d610f7a9d72a91fe67059d5564f (patch) | |
tree | 33a9b91882c827aef5fd17d00e10a8950601d8a3 | |
parent | 78bb997ace926451ec8d1ed15178b161dc61b805 (diff) |
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 <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm2200.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
1554 | int ret; | 1554 | int ret; |
1555 | 1555 | ||
1556 | wm2200->codec = codec; | 1556 | wm2200->codec = codec; |
1557 | codec->dapm.bias_level = SND_SOC_BIAS_OFF; | ||
1558 | 1557 | ||
1559 | ret = snd_soc_add_codec_controls(codec, wm_adsp1_fw_controls, 2); | 1558 | ret = snd_soc_add_codec_controls(codec, wm_adsp1_fw_controls, 2); |
1560 | if (ret != 0) | 1559 | if (ret != 0) |