From patchwork Mon Nov 3 18:07:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5218631 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 AEF149F349 for ; Mon, 3 Nov 2014 18:08:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E5EA020136 for ; Mon, 3 Nov 2014 18:08:34 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 789E9200DE for ; Mon, 3 Nov 2014 18:08:33 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id F1439260523; Mon, 3 Nov 2014 19:08:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 9B6DD2604A0; Mon, 3 Nov 2014 19:08:21 +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 BE92E2604D3; Mon, 3 Nov 2014 19:08:19 +0100 (CET) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by alsa0.perex.cz (Postfix) with ESMTP id 4E291260489 for ; Mon, 3 Nov 2014 19:08:12 +0100 (CET) Received: by mail-pd0-f178.google.com with SMTP id fp1so11913765pdb.37 for ; Mon, 03 Nov 2014 10:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=WxOQONVyDUlknVH4/5USwxmfrsALwEz98U+TkH/OWPE=; b=Vb4oQhE5TK5JEgRcPi/CmxNke8Wcmoz5TygBYxPdBFJ+wK/20k2K0aM0YFkgyrPh0B qNh4PALiDHHItZB8zplIw6BZPFGWWb+yKYZqs6S4R7tblF4Y+kAla52S8Ws82iwIfSbv WyB5bmMGx1vrbAAgRx7ZQBr+wrJsIya0hD8ej65xUqwXcsQxyjxkcd/Lx/Fd1VRnDHeF PpPnAc+M3YX9xiCsWyF4szo+MooG8+PwNhdqPv6nS0wN4YZYhXbs9fikLnbfqYbA2I/s aR1e/9Y9KF1h6OZyDRFbytDL7W4jlnm+qjywJrbiggpKL74XFvJDNs61tAawvwI9EqgF PmTg== X-Received: by 10.70.23.163 with SMTP id n3mr45347602pdf.0.1415038090913; Mon, 03 Nov 2014 10:08:10 -0800 (PST) Received: from localhost.localdomain ([122.169.160.196]) by mx.google.com with ESMTPSA id g3sm17812491pdh.33.2014.11.03.10.08.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 10:08:10 -0800 (PST) From: Sudip Mukherjee To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Mon, 3 Nov 2014 23:37:59 +0530 Message-Id: <1415038079-6490-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 Cc: Jim Davis , alsa-devel@alsa-project.org, Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: tlv320aic23: depends on SPI 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 Fix build errors when CONFIG_SPI is not enabled by making the driver depend on SPI. ERROR: "spi_setup" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined! ERROR: "devm_regmap_init_spi" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined! ERROR: "spi_register_driver" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined! Reported-by: Jim Davis Signed-off-by: Sudip Mukherjee --- reference of mail by Jim Davis at https://lkml.org/lkml/2014/11/3/551 sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 6801b38..9a8ea56 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -603,6 +603,7 @@ config SND_SOC_TLV320AIC23_I2C config SND_SOC_TLV320AIC23_SPI tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI" + depends on SPI select SND_SOC_TLV320AIC23 config SND_SOC_TLV320AIC26