From patchwork Wed Oct 21 00:34:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 7453951 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C08CEBEEA4 for ; Wed, 21 Oct 2015 00:35:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 122AC208BE for ; Wed, 21 Oct 2015 00:35:05 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9FB66208C1 for ; Wed, 21 Oct 2015 00:35:03 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1FCEA266639; Wed, 21 Oct 2015 02:35:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 9A4D42604DD; Wed, 21 Oct 2015 02:34:54 +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 0753E2604F8; Wed, 21 Oct 2015 02:34:52 +0200 (CEST) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by alsa0.perex.cz (Postfix) with ESMTP id CCA212604D5 for ; Wed, 21 Oct 2015 02:34:45 +0200 (CEST) Received: by pacfv9 with SMTP id fv9so37724775pac.3 for ; Tue, 20 Oct 2015 17:34:44 -0700 (PDT) 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:content-type :mime-version:content-transfer-encoding; bh=7rBlRtFMQPCtGw0LkU5UYzD1tsjTIBcxrdm3/CqsiNg=; b=dWP2oyCgF0k46J3dmv4BXFKneYAnuhulQeW5ms5gXKiwnmlViJKRS+uSO/iLDJpchm FAnNdcr6Ta6+xgiWvZ7zvjJEs5jXHflH7bV5oSKM4syK3qTfHWnFau5dEhhYWlx9wbVQ F1J+VEVwSvQwbXR0mq0aqHmEyRbceIQEzTrxGGo5J3qknC7SgMiPOu4YqzDsF7dfzIpK ek4RQMtca1KP81lphBVQs5sTBGTwWqgPPX9ZAtCbYMPzNmhtm+0qZn4o4PEhXYhIGxo/ /4wu7tEMeRU8XW/upex2BD0VrCTN+KjqjgAvY+BS5pDiVatkCcuv+O4rcUsYba50WCb+ tz6w== X-Gm-Message-State: ALoCoQkDLynEjp4V9VV5Xkmhk77VfnJE/HXlkKBTSv6L6sVa+clY81i12ShdKwDgNiIa/ttTB7zy X-Received: by 10.66.184.203 with SMTP id ew11mr7060298pac.24.1445387684070; Tue, 20 Oct 2015 17:34:44 -0700 (PDT) Received: from phoenix ([60.245.64.174]) by smtp.gmail.com with ESMTPSA id by6sm1119597pab.25.2015.10.20.17.34.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 17:34:42 -0700 (PDT) Message-ID: <1445387677.5319.1.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Wed, 21 Oct 2015 08:34:37 +0800 X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Cc: Adam Thomson , Support Opensource , alsa-devel@alsa-project.org, Liam Girdwood Subject: [alsa-devel] [PATCH RFT] ASoC: da7219: Fix da7219->alc_en state when enabling ALC 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 Signed-off-by: Axel Lin Tested-by: Adam Thomson --- sound/soc/codecs/da7219.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index 86c528a..e36a7b7 100644 --- a/sound/soc/codecs/da7219.c +++ b/sound/soc/codecs/da7219.c @@ -402,7 +402,7 @@ static int da7219_alc_sw_put(struct snd_kcontrol *kcontrol, /* Force ALC offset calibration if enabling ALC */ if ((ucontrol->value.integer.value[0]) && (!da7219->alc_en)) { da7219_alc_calib(codec); - da7219->alc_en = false; + da7219->alc_en = true; } else { da7219->alc_en = false; }