From patchwork Tue Apr 29 11:18:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29348 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 54E9D202FE for ; Tue, 29 Apr 2014 11:24:22 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id m5sf140641qaj.11 for ; Tue, 29 Apr 2014 04:24:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VaBpsfBGBLElYu/GEr6FBl82sVPCwJAgIz7kNzyBBDg=; b=TBZZxOfARhjH+CqdD6qA7iHE74mM+8Lx5VXBFOEsBO20k3UfngHfERFGBwuskHr9e1 kmJJK8iY0OKooZrkgIyVbQlaa009x6rTERk2pSWM2gPBDa/k8DPkwzFdDm/1cUQAKAmE puK7WprP/ousuyF41vjzwq34IsI19FDiOXABHACdzDKedhHSSg8x+yopcaQvxQCJoFu6 vjPnKIPqYvXy7s6rwB3AK9ZH+mcnuC0ftfIWZpzVIJWH2bEQVjMkEj/xsO7BITAwOok2 7ouwjYrXZBdPLCzu/FUJvd/pyV283jyyw9y1wMovbdom6H1zWehG1WzUaecz0loJ3lYO 65AA== X-Gm-Message-State: ALoCoQnZK7X1mYsx2vOfGElo4mz57H11zgz9kQUsA2Cf6cSkfrZdD+3tn6t+YFKouqewQk76n+gu X-Received: by 10.236.93.38 with SMTP id k26mr13784042yhf.20.1398770662083; Tue, 29 Apr 2014 04:24:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.107 with SMTP id b98ls34931qgd.64.gmail; Tue, 29 Apr 2014 04:24:21 -0700 (PDT) X-Received: by 10.52.116.101 with SMTP id jv5mr25170973vdb.11.1398770661952; Tue, 29 Apr 2014 04:24:21 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id af10si4428061vec.23.2014.04.29.04.24.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 04:24:21 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hy4so61363vcb.12 for ; Tue, 29 Apr 2014 04:24:21 -0700 (PDT) X-Received: by 10.221.4.66 with SMTP id ob2mr1383583vcb.28.1398770661872; Tue, 29 Apr 2014 04:24:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp188984vcb; Tue, 29 Apr 2014 04:24:21 -0700 (PDT) X-Received: by 10.66.162.74 with SMTP id xy10mr32536228pab.4.1398770660970; Tue, 29 Apr 2014 04:24:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hr5si155127pac.428.2014.04.29.04.24.19; Tue, 29 Apr 2014 04:24:19 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933769AbaD2LYH (ORCPT + 28 others); Tue, 29 Apr 2014 07:24:07 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:61702 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757359AbaD2LTL (ORCPT ); Tue, 29 Apr 2014 07:19:11 -0400 Received: by mail-pd0-f172.google.com with SMTP id g10so50396pdj.3 for ; Tue, 29 Apr 2014 04:19:10 -0700 (PDT) X-Received: by 10.66.164.70 with SMTP id yo6mr32270812pab.85.1398770350795; Tue, 29 Apr 2014 04:19:10 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id xo9sm108641006pab.18.2014.04.29.04.19.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 04:19:10 -0700 (PDT) From: Xia Kaixu To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, arnd@arndb.de, kaixu.xia@linaro.org, Mark Brown , Liam Girdwood , alsa-devel@alsa-project.org Subject: [PATCH 02/15] ASoC: davinci: add dependencies for SND_SOC_TLV320AIC3X Date: Tue, 29 Apr 2014 19:18:23 +0800 Message-Id: <1398770316-19715-3-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398770316-19715-1-git-send-email-kaixu.xia@linaro.org> References: <1398770316-19715-1-git-send-email-kaixu.xia@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kaixu.xia@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann This codec requires I2C to be enabled, so any other option that selects it should also depend on I2C. Signed-off-by: Arnd Bergmann Signed-off-by: Xia Kaixu Cc: Mark Brown Cc: Liam Girdwood Cc: alsa-devel@alsa-project.org --- sound/soc/davinci/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig index a8ec1fc..50a0987 100644 --- a/sound/soc/davinci/Kconfig +++ b/sound/soc/davinci/Kconfig @@ -18,7 +18,7 @@ config SND_DAVINCI_SOC_GENERIC_EVM config SND_AM33XX_SOC_EVM tristate "SoC Audio for the AM33XX chip based boards" - depends on SND_DAVINCI_SOC && SOC_AM33XX + depends on SND_DAVINCI_SOC && SOC_AM33XX && I2C select SND_DAVINCI_SOC_GENERIC_EVM help Say Y or M if you want to add support for SoC audio on AM33XX @@ -28,7 +28,7 @@ config SND_AM33XX_SOC_EVM config SND_DAVINCI_SOC_EVM tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM" - depends on SND_DAVINCI_SOC + depends on SND_DAVINCI_SOC && I2C depends on MACH_DAVINCI_EVM || MACH_DAVINCI_DM355_EVM || MACH_DAVINCI_DM365_EVM select SND_DAVINCI_SOC_GENERIC_EVM help @@ -56,7 +56,7 @@ endchoice config SND_DM6467_SOC_EVM tristate "SoC Audio support for DaVinci DM6467 EVM" - depends on SND_DAVINCI_SOC && MACH_DAVINCI_DM6467_EVM + depends on SND_DAVINCI_SOC && MACH_DAVINCI_DM6467_EVM && I2C select SND_DAVINCI_SOC_GENERIC_EVM select SND_SOC_SPDIF @@ -65,7 +65,7 @@ config SND_DM6467_SOC_EVM config SND_DA830_SOC_EVM tristate "SoC Audio support for DA830/OMAP-L137 EVM" - depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA830_EVM + depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA830_EVM && I2C select SND_DAVINCI_SOC_GENERIC_EVM help @@ -74,7 +74,7 @@ config SND_DA830_SOC_EVM config SND_DA850_SOC_EVM tristate "SoC Audio support for DA850/OMAP-L138 EVM" - depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM + depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM && I2C select SND_DAVINCI_SOC_GENERIC_EVM help Say Y if you want to add support for SoC audio on TI