From: Mark Brown Date: Wed, 18 Jan 2012 13:47:02 +0000 (+0000) Subject: ASoC: Remove redundant set_bias_level() from WM5100 remove() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=218240e27f89b477564a638ff77d45147e42a8fd;p=linux-beck.git 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 --- diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index de8604229bc9..8ea2089f7aa1 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); }