ASoC: tlv320dac33: Cleanup manual bias level transitions
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 19:57:58 +0000 (20:57 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 27 Nov 2014 11:17:34 +0000 (11:17 +0000)
Since the ASoC core now takes care of setting the bias level to
SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually
anymore.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320dac33.c

index e21ed934bdbf9cdc1f55de3b4786196250336355..0fe2ced5b09fc72324fd2e9ac89c1ec3cf0d06cb 100644 (file)
@@ -1436,8 +1436,6 @@ static int dac33_soc_remove(struct snd_soc_codec *codec)
 {
        struct tlv320dac33_priv *dac33 = snd_soc_codec_get_drvdata(codec);
 
-       dac33_set_bias_level(codec, SND_SOC_BIAS_OFF);
-
        if (dac33->irq >= 0) {
                free_irq(dac33->irq, dac33->codec);
                destroy_workqueue(dac33->dac33_wq);