From patchwork Tue Sep 30 19:52:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 5006681 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3BD579F32B for ; Tue, 30 Sep 2014 19:53:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5312B201EF for ; Tue, 30 Sep 2014 19:53:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 243BE2013D for ; Tue, 30 Sep 2014 19:53:00 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0CF5526085C; Tue, 30 Sep 2014 21:52:59 +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=-0.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,SUBJ_OBFU_PUNCT_MANY,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D57592605D0; Tue, 30 Sep 2014 21:52:48 +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 40D1D2604DC; Tue, 30 Sep 2014 21:52:47 +0200 (CEST) Received: from mail-yh0-f41.google.com (mail-yh0-f41.google.com [209.85.213.41]) by alsa0.perex.cz (Postfix) with ESMTP id 2CD6F260442 for ; Tue, 30 Sep 2014 21:52:40 +0200 (CEST) Received: by mail-yh0-f41.google.com with SMTP id i57so1721074yha.0 for ; Tue, 30 Sep 2014 12:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1yTDmlmLz7KlofTcWezWGD91riRXvkGFkPoU5nOEDWM=; b=SaqfmvBzjJC2RkzuNhhtup0uoQDaK1+d7cwNGKttA/UZ33EbdrDGnv5iO7UUl2+fxp UeU/w4iCrO34uFHqDP+FTrd/PNvhX9rZnoLqcP1KnBB6DoPR7u/uFqve1X4HQRPuKSqr m9h2cuJNMSf9PHx74abjzo3elU8p+CMFQ7lf0hrF1jQRtUzJHLeKICkucTX+F6KgQVvf UShmfDqSVBsII+oWYQzjWSF3gtQU8q1N8aSndL5uKVf/aIL/whD7htrz5rMeEpKHReVR AVQ71AT3MPwac9TN9x6kl021Sp/YjGyqnbhPSjD7vtg8+bAS9BgBdU3VWwaDYNe9XLEb AXEQ== X-Received: by 10.236.70.99 with SMTP id o63mr17196418yhd.98.1412106759026; Tue, 30 Sep 2014 12:52:39 -0700 (PDT) Received: from localhost.localdomain ([201.82.52.106]) by mx.google.com with ESMTPSA id d61sm8804488yhd.22.2014.09.30.12.52.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 12:52:38 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Tue, 30 Sep 2014 16:52:15 -0300 Message-Id: <1412106735-18892-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: nicoleotsuka@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org, arnd@arndb.de Subject: [alsa-devel] [PATCH] ASoC: fsl: Do not force codecs selection by SND_SOC_FSL_ASOC_CARD 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: Fabio Estevam The wm8962 driver uses the input subsystem, but it is selected by SND_SOC_FSL_ASOC_CARD, which can be built with CONFIG_INPUT disabled, resulting in this link error: ERROR: "input_event" [sound/soc/codecs/snd-soc-wm8962.ko] undefined! ERROR: "input_register_device" [sound/soc/codecs/snd-soc-wm8962.ko] undefined! ERROR: "devm_input_allocate_device" [sound/soc/codecs/snd-soc-wm8962.ko] undefined! Do not force the selection of the codecs by SND_SOC_FSL_ASOC_CARD to avoid such problem. Reported-by: Arnd Bergmann Signed-off-by: Fabio Estevam --- sound/soc/fsl/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 6164e78..081e406 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -288,9 +288,6 @@ config SND_SOC_FSL_ASOC_CARD select SND_SOC_FSL_ESAI select SND_SOC_FSL_SAI select SND_SOC_FSL_SSI - select SND_SOC_CS42XX8_I2C - select SND_SOC_SGTL5000 - select SND_SOC_WM8962 help ALSA SoC Audio support with ASRC feature for Freescale SoCs that have ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888