From patchwork Sat Apr 26 07:21:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 29132 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0A6DC20534 for ; Sat, 26 Apr 2014 07:22:14 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id l13sf9689663iga.7 for ; Sat, 26 Apr 2014 00:22:14 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=nmR9eYccU0ZDkPaCMC3w8XnhQZDXqsFX08TfRufNOPU=; b=KU5dVLkuFJ98K1BDX5o8gKPs6jAbKktanYmtRfYlXsnnTOc+xCllqRYZ7nB2XuQ+M+ 3PJ2IzwSHWZfKr3skQMFL4DHBFC6n3jm7XdqxPMOz419v/r31+hz0id8woLr/qXkq+Pu I7J+Rak9E91meAV+S6MpoHHa60fL5Z6zr678FsNlZF/1L5FM6GbPcQsR54fIsAna2mAP 365AYYP+anRD10vuHXDbH0pYGH4QK3/ET6RdMxsY+3JN3H4Q9lJW/vWKkq9/SKZ15J0+ PjvUhbjna1y65ITp/HMUGFSAQdcNp8Vra+7hV8xbCUzvylJJBpiJVHXVfBi0iJFdVFqv dYKQ== X-Gm-Message-State: ALoCoQmmH/TnfwMH9VE2rsr5T/hG8+vyZQ3hiR0xaAjluNb5Fq6z80Ub7Uyuisd9UeO3NhB5cpcx X-Received: by 10.43.88.73 with SMTP id az9mr6033019icc.5.1398496934487; Sat, 26 Apr 2014 00:22:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.201 with SMTP id k67ls1899540qge.22.gmail; Sat, 26 Apr 2014 00:22:14 -0700 (PDT) X-Received: by 10.52.164.237 with SMTP id yt13mr9355408vdb.18.1398496934371; Sat, 26 Apr 2014 00:22:14 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id or7si2285713vcb.169.2014.04.26.00.22.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:22:14 -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.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so5863493vcb.38 for ; Sat, 26 Apr 2014 00:22:14 -0700 (PDT) X-Received: by 10.52.116.101 with SMTP id jv5mr9351194vdb.11.1398496934282; Sat, 26 Apr 2014 00:22:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp152728vcb; Sat, 26 Apr 2014 00:22:13 -0700 (PDT) X-Received: by 10.67.2.34 with SMTP id bl2mr12883170pad.58.1398496933626; Sat, 26 Apr 2014 00:22:13 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx.google.com with ESMTPS id zp5si2911360pac.24.2014.04.26.00.22.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:22:13 -0700 (PDT) Received-SPF: none (google.com: kaixu.xia@linaro.org does not designate permitted sender hosts) client-ip=209.85.192.175; Received: by mail-pd0-f175.google.com with SMTP id fp1so1755784pdb.34 for ; Sat, 26 Apr 2014 00:22:13 -0700 (PDT) X-Received: by 10.68.160.163 with SMTP id xl3mr12790222pbb.39.1398496933251; Sat, 26 Apr 2014 00:22:13 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id bc4sm20640376pbb.2.2014.04.26.00.22.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Apr 2014 00:22:12 -0700 (PDT) From: Xia Kaixu To: linaro-kernel@lists.linaro.org, arnd@arndb.de Cc: kaixu.xia@linaro.org, patches@linaro.org Subject: [PATCH 02/15] ASoC: CS42L51 and WM8962 codecs depend on INPUT Date: Sat, 26 Apr 2014 15:21:36 +0800 Message-Id: <1398496909-27785-3-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398496909-27785-1-git-send-email-kaixu.xia@linaro.org> References: <1398496909-27785-1-git-send-email-kaixu.xia@linaro.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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann Building ARM randconfig got into a situation where CONFIG_INPUT is turned off and SND_SOC_ALL_CODECS is turned on, which failed for two codecs trying to use the input subsystem. Appending to the dependency list seems the easiest way out, since this is not a practical limitation. If anyone really needs to build these codecs for a kernel with no input support, a more sophisticated solution can be implemented. Signed-off-by: Arnd Bergmann Signed-off-by: Xia Kaixu Cc: Mark Brown Cc: Liam Girdwood Cc: linux-input@vger.kernel.org Cc: alsa-devel@alsa-project.org --- sound/soc/codecs/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index f0e8401..d06cd81 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -40,7 +40,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_ALC5632 if I2C select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC select SND_SOC_CS42L51 if I2C - select SND_SOC_CS42L52 if I2C + select SND_SOC_CS42L52 if I2C && INPUT select SND_SOC_CS42L73 if I2C select SND_SOC_CS4270 if I2C select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI @@ -127,7 +127,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_WM8955 if I2C select SND_SOC_WM8960 if I2C select SND_SOC_WM8961 if I2C - select SND_SOC_WM8962 if I2C + select SND_SOC_WM8962 if I2C && INPUT select SND_SOC_WM8971 if I2C select SND_SOC_WM8974 if I2C select SND_SOC_WM8978 if I2C