Skip to contentSkip to conversation

ASoC: Remove redundant set_bias_level() from WM5100 remove()

PATCH New Mark Brown 1 participant 1 message Jan 18, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Remove redundant set_bias_level() from WM5100 remove()

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

---
 sound/soc/codecs/wm5100.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/wm5100.c +0 -2
index fca7f0a..b22b425 100644
@@ -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);
 	}
Signature · 1 line
1.7.7.3