Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1345970ybp; Thu, 17 Oct 2019 11:22:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzolLbHcaj2kznpM4eGvUzcacYvlNErpPCrs8RouJ4zRAT6lwk7CY9WsWRB/48oji0Y+IDm X-Received: by 2002:aa7:df86:: with SMTP id b6mr5249817edy.107.1571336571751; Thu, 17 Oct 2019 11:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571336571; cv=none; d=google.com; s=arc-20160816; b=jsPbLfRPYn7jNIuxip2usLBNVPzMLe5w5G3XhmF1XjtCEtoi81nl1tATWD17Rk7SyU k4sqMqWeiYoaZ3a/jtczGGx0hGQf+7t04V5QiGbW1vCwG9mHThAC5Ha/MinZrRYTzAty 1NZJ+1knIw1kJbxQ5SI9oYGdXL5veDsSvjMeVWdRjQ403aQEPVzuCewqQE+9+czabn1h GGXn9qoCe5huHc7LRIRraXV/iBO7P+WnFuw7vQQYpQbLelQRZmMTo2npIAhfz5WLQPsT V4mg+x20F/shGgTq0GI3N08A44dofMKp1Rx0CeDZ3uMsZFsd5ywDip20obBWlJ6hA6Do Mvug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=D81GuKd6kvtc73JsfcUvSZqNKGY32mtyOkQrbFYUPHk=; b=oefxz2u9+xbHb3VelaiZb4pc/sAuEClCAHk9M4H5+pVCITbBC6wY+wZadCA3RK6W35 aZdKgNRY38bUGghEhGwo75FMLKByHJnjm0RV08PFRkJQC78/XXaLu8oc/iBu3lc9SP70 oluxGNRzeIcE9Yxm/5PM/a1bivrf8iy1B3GWSoWlDYMUAE7ywoGcT2sj+3x9V9HkG1gj qUMaf9QdfJzSWyreDtMtgC8sKAllZMeA36gomUKwIfInme9nSztfDhzROwxUp6iOr1dm qicuCAmKxsHeH5KDM/9sU6Z+siGouoDP11Z4RiS+n6ezlkrsq/fnwnckhVH7aH8UkI8c BZAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ItGA3SQV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si2103592edq.84.2019.10.17.11.22.28; Thu, 17 Oct 2019 11:22:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ItGA3SQV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438926AbfJPWBA (ORCPT + 99 others); Wed, 16 Oct 2019 18:01:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:54932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438617AbfJPV7p (ORCPT ); Wed, 16 Oct 2019 17:59:45 -0400 Received: from localhost (unknown [192.55.54.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F20021D7A; Wed, 16 Oct 2019 21:59:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263185; bh=8UGPLitatbar9lY0sjf93t5sfez5gmzeYrIzRwk1FOo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ItGA3SQVUV1HsJYHNgwcGdu5PSWHc/xWSV4W9pkumqJ613rY3uk3Yfw4dRbB6f1eb R8MzL/XXbShhiXbEQjClyB+o8Qxnzi/5kIwr16ZLfSlFCVe2jlcmvLHem2xEiYx0cx SAXx+N8cQivvhXBeyGnEDh9dRHJGCiXjx615Zyds= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oleksandr Suvorov , Marcel Ziswiler , Igor Opaniuk , Fabio Estevam , Mark Brown Subject: [PATCH 5.3 112/112] ASoC: sgtl5000: add ADC mute control Date: Wed, 16 Oct 2019 14:51:44 -0700 Message-Id: <20191016214907.599726506@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214844.038848564@linuxfoundation.org> References: <20191016214844.038848564@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oleksandr Suvorov commit 694b14554d75f2a1ae111202e71860d58b434a21 upstream. This control mute/unmute the ADC input of SGTL5000 using its CHIP_ANA_CTRL register. Signed-off-by: Oleksandr Suvorov Reviewed-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk Reviewed-by: Fabio Estevam Link: https://lore.kernel.org/r/20190719100524.23300-5-oleksandr.suvorov@toradex.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/sgtl5000.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -720,6 +720,7 @@ static const struct snd_kcontrol_new sgt SGTL5000_CHIP_ANA_ADC_CTRL, 8, 1, 0, capture_6db_attenuate), SOC_SINGLE("Capture ZC Switch", SGTL5000_CHIP_ANA_CTRL, 1, 1, 0), + SOC_SINGLE("Capture Switch", SGTL5000_CHIP_ANA_CTRL, 0, 1, 1), SOC_DOUBLE_TLV("Headphone Playback Volume", SGTL5000_CHIP_ANA_HP_CTRL,