From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: [PATCH] ASoC: Remove redundant set_bias_level() from WM5100 remove() Date: Wed, 18 Jan 2012 18:49:17 +0000 Message-ID: <1326912557-24308-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 4DA9424697 for ; Wed, 18 Jan 2012 19:49:21 +0100 (CET) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Liam Girdwood Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Mark Brown List-Id: alsa-devel@alsa-project.org The framework should bring the device down before it calls the driver. Signed-off-by: Mark Brown --- 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