diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-18 13:47:02 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 13:58:32 +0000 |
commit | 218240e27f89b477564a638ff77d45147e42a8fd (patch) | |
tree | 76bc53e86386b988d59848c8d116e615eecb8728 /sound | |
parent | b4badd4960c9937fcbdcab2a57f0dd7e4ad45c8e (diff) | |
download | linux-3.10-218240e27f89b477564a638ff77d45147e42a8fd.tar.gz linux-3.10-218240e27f89b477564a638ff77d45147e42a8fd.tar.bz2 linux-3.10-218240e27f89b477564a638ff77d45147e42a8fd.zip |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm5100.c | 1 |
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); } |