From patchwork Tue Jun 28 10:36:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 9203505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9EA5B6075F for ; Tue, 28 Jun 2016 16:06:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9037128605 for ; Tue, 28 Jun 2016 16:06:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84AC72860D; Tue, 28 Jun 2016 16:06:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAD5528605 for ; Tue, 28 Jun 2016 16:06:51 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A0B192667E8; Tue, 28 Jun 2016 18:06:48 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EF342266C35; Tue, 28 Jun 2016 16:35:13 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 53872266C35; Tue, 28 Jun 2016 16:35:12 +0200 (CEST) Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by alsa0.perex.cz (Postfix) with ESMTP id 3B371267E6B for ; Tue, 28 Jun 2016 12:37:05 +0200 (CEST) Received: by mail-pf0-f196.google.com with SMTP id c74so1470928pfb.0 for ; Tue, 28 Jun 2016 03:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingics-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=ei4M9er+dRVx9JmLKHKFAXhbrPIodx+LOGSx1ScRuCo=; b=nBuUIUOH10dASFhC5JLHi+5r3FMZ4DInsUuYltd1Fp4ciBOZKa6kVQT7zJexekSlNo oo3XQrym8WOxjbbuSAUeTZ7DFdSLoQLjBDu8KqLBvPbxnbSgyAJNXMq6w5LwJw/qCIoi JMt/iSH4Mcm2SiZrvGrVa9mnQdaDoDrLnAby8tb6iwrQXpCTuMzgAgVCYE7SBluLuzUp KaOZSNDUmfMI6x1lsn35KSGXNsE3cZg4iOeuQUd3aLVD/eSfLOcdgM2nPcv46U4Wb2SI 3C6+wJab7LOzHFmaXjRRw9C+R/vGfncebi5aGEASA3/jt3dV22sUHd1oh8CAiVcuQANq RDYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=ei4M9er+dRVx9JmLKHKFAXhbrPIodx+LOGSx1ScRuCo=; b=C88oVQUsFqyPQ6y5TUaOdbXvMtiqWTzYfTK48tZxVwqo1lg/xoEc3GpkTo5HVOivMy slitMoW0mzTBcJIZSDUJdJmPw5wvM5q59wzRC22+LZEoSPOOPSJE9H/NcsLr47K/y5sC 86bbjOk5aEDb2JImdk3PJ+n6qX0/Ke1A2y4dO6fJtK0rRBZg0U7R9hWniLUREXKWIsDx LBOTROvT7fosbOjC2DkuqD/f4RSrOmK57/B9cbASfF3/oxAD6s5NL4A9PNH/EeF3rZk5 87rIXaUt4vDiIHREbvnwBz6lfKqbHKHQ483tSC9qAsVqzzE75Y//wixr0GQIWkuqe3vb fkZQ== X-Gm-Message-State: ALyK8tJJ2nnWNGblTp9BjDtGUtdVA05clW2nVKdhwXJAe+D5hryvPiQA+WWwahFPYi0UDQ== X-Received: by 10.98.65.209 with SMTP id g78mr502652pfd.93.1467110223696; Tue, 28 Jun 2016 03:37:03 -0700 (PDT) Received: from [192.168.1.168] (118-167-23-90.dynamic.hinet.net. [118.167.23.90]) by smtp.gmail.com with ESMTPSA id j5sm6310410pfj.71.2016.06.28.03.37.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jun 2016 03:37:02 -0700 (PDT) Message-ID: <1467110219.1638.1.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Tue, 28 Jun 2016 18:36:59 +0800 X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Cc: Brian Austin , alsa-devel@alsa-project.org, Liam Girdwood , Paul Handrigan Subject: [alsa-devel] [PATCH] ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" 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 X-Virus-Scanned: ClamAV using ClamSMTP This is done by ASoC core now. Signed-off-by: Axel Lin Acked-by: Paul Handrigan --- 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; }