[alsa-devel] [PATCH] ASoC: Remove redundant set_bias_level() from WM5100 remove()

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jan 18 19:49:17 CET 2012


The framework should bring the device down before it calls the driver.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm5100.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index fca7f0a..b22b425 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2693,8 +2693,6 @@ static int wm5100_remove(struct snd_soc_codec *codec)
 	struct i2c_client *i2c = to_i2c_client(codec->dev);
 	int i;
 
-	wm5100_set_bias_level(codec, SND_SOC_BIAS_OFF);
-
 	if (wm5100->pdata.hp_pol) {
 		gpio_free(wm5100->pdata.hp_pol);
 	}
-- 
1.7.7.3



More information about the Alsa-devel mailing list