summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-18 13:47:02 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 13:58:32 +0000
commit218240e27f89b477564a638ff77d45147e42a8fd (patch)
tree76bc53e86386b988d59848c8d116e615eecb8728
parentb4badd4960c9937fcbdcab2a57f0dd7e4ad45c8e (diff)
ASoC: Remove redundant set_bias_level() from WM5100 remove()
The framework should bring the device down before it calls the driver. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/wm5100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index de8604229bc..8ea2089f7aa 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2562,7 +2562,6 @@ static int wm5100_remove(struct snd_soc_codec *codec)
struct wm5100_priv *wm5100 = snd_soc_codec_get_drvdata(codec);
struct i2c_client *i2c = to_i2c_client(codec->dev);
- wm5100_set_bias_level(codec, SND_SOC_BIAS_OFF);
if (wm5100->pdata.hp_pol) {
gpio_free(wm5100->pdata.hp_pol);
}