From patchwork Fri Feb 24 21:00:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: me@rockwellcollins.com X-Patchwork-Id: 9591995 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 DA6A66042B for ; Sat, 25 Feb 2017 21:25:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE7D428488 for ; Sat, 25 Feb 2017 21:25:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C38A7284AD; Sat, 25 Feb 2017 21:25:46 +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.9 required=2.0 tests=BAYES_00,INVALID_MSGID, MSGID_NOFQDN1,RCVD_IN_DNSWL_NONE 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 52CDB2848E for ; Sat, 25 Feb 2017 21:25:46 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DD6F22667E0; Sat, 25 Feb 2017 22:13:27 +0100 (CET) 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 EBD93266A46; Fri, 24 Feb 2017 22:00:46 +0100 (CET) Received: from ch3vs02.rockwellcollins.com (ch3vs02.rockwellcollins.com [205.175.226.29]) by alsa0.perex.cz (Postfix) with ESMTP id D19C22668C0; Fri, 24 Feb 2017 22:00:41 +0100 (CET) Received: from ofwch3n02.rockwellcollins.com (HELO crulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs02.rockwellcollins.com with ESMTP; 24 Feb 2017 15:00:40 -0600 X-Received: from rclinux-VirtualBox.rockwellcollins.com (unknown [131.199.102.76]) by crulimr02.rockwellcollins.com (Postfix) with ESMTP id 0244860160; Fri, 24 Feb 2017 15:00:40 -0600 (CST) From: me@rockwellcollins.com To: patch@alsa-project.org Date: Fri, 24 Feb 2017 15:00:34 -0600 Message-Id: <1487970034-6003-1-git-send-email-me> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Sat, 25 Feb 2017 22:13:25 +0100 Cc: Bryce Ferguson , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 1/1] ASoC: Add AU1761 audio codec as selectable option 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bryce Ferguson This commit adds the ADI AU1761 audio codec as a selectable option in the kernel config. Currently the driver can only be selected for ADI blackfin devices or if SND_SOC_ALL_CODECS is enabled. Signed-off-by: Bryce Ferguson Acked-by: Lars-Peter Clausen diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index e49e9da..43539c3b 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -303,12 +303,14 @@ config SND_SOC_ADAU1761 select SND_SOC_ADAU17X1 config SND_SOC_ADAU1761_I2C - tristate + tristate "Analog Devices AU1761 CODEC - I2C" + depends on I2C select SND_SOC_ADAU1761 select REGMAP_I2C config SND_SOC_ADAU1761_SPI - tristate + tristate "Analog Devices AU1761 CODEC - SPI" + depends on SPI select SND_SOC_ADAU1761 select REGMAP_SPI