From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Handrigan, Paul" Subject: Re: [PATCH] ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level Date: Tue, 28 Jun 2016 14:30:34 +0000 Message-ID: References: <1467110219.1638.1.camel@ingics.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by alsa0.perex.cz (Postfix) with ESMTP id 8260A266C02 for ; Tue, 28 Jun 2016 16:30:36 +0200 (CEST) In-Reply-To: <1467110219.1638.1.camel@ingics.com> Content-Language: en-US Content-ID: <1946143AB5DEA44699B079BA6C91A4DB@ad.cirrus.com> 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: Axel Lin , Mark Brown Cc: "Austin, Brian" , Liam Girdwood , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org On 6/28/16, 5:36 AM, "Axel Lin" wrote: >This is done by ASoC core now. > >Signed-off-by: Axel Lin >--- > sound/soc/codecs/cs35l33.c | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c >index 90dc743..622a111 100644 >--- a/sound/soc/codecs/cs35l33.c >+++ b/sound/soc/codecs/cs35l33.c >@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct >snd_soc_codec *codec, > enum snd_soc_bias_level level) > { > unsigned int val; >- struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec); > struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec); > > switch (level) { >@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct >snd_soc_codec *codec, > return -EINVAL; > } > >- dapm->bias_level = level; >- > return 0; > } > >-- >2.5.0 Thanks! Acked-by: Paul Handrigan