From: Lars-Peter Clausen Subject: [PATCH 4/6] ASoC: da732x: Remove unnecessary idle_bias_off initialization Date: Tue, 9 Sep 2014 20:42:43 +0200 Message-ID: <1410288165-32127-4-git-send-email-lars@metafoo.de> References: <1410288165-32127-1-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-205.synserver.de (smtp-out-205.synserver.de [212.40.185.205]) by alsa0.perex.cz (Postfix) with ESMTP id 711AA265338 for ; Tue, 9 Sep 2014 20:42:47 +0200 (CEST) In-Reply-To: <1410288165-32127-1-git-send-email-lars@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown , Liam Girdwood Cc: Brian Austin , alsa-devel@alsa-project.org, Support Opensource , Paul Handrigan , Lars-Peter Clausen List-Id: alsa-devel@alsa-project.org idle_bias_off is false by default, no need to set it explicitly. Signed-off-by: Lars-Peter Clausen --- sound/soc/codecs/da732x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/codecs/da732x.c b/sound/soc/codecs/da732x.c index 2fae31c..edcbfea 100644 --- a/sound/soc/codecs/da732x.c +++ b/sound/soc/codecs/da732x.c @@ -1511,12 +1511,9 @@ static int da732x_set_bias_level(struct snd_soc_codec *codec, static int da732x_probe(struct snd_soc_codec *codec) { struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec); - struct snd_soc_dapm_context *dapm = &codec->dapm; da732x->codec = codec; - dapm->idle_bias_off = false; - da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY); return 0; -- 1.8.0