From patchwork Tue Mar 29 16:45:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 8692691 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1B79D9F30C for ; Wed, 30 Mar 2016 03:09:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1DE5520357 for ; Wed, 30 Mar 2016 03:09:50 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C005920328 for ; Wed, 30 Mar 2016 03:09:48 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4BF5E26640F; Wed, 30 Mar 2016 05:09:42 +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=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5465726735D; Tue, 29 Mar 2016 21:50:17 +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 2A8D026735C; Tue, 29 Mar 2016 21:50:16 +0200 (CEST) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by alsa0.perex.cz (Postfix) with ESMTP id C1E4A267412 for ; Tue, 29 Mar 2016 18:45:08 +0200 (CEST) Received: from static-50-53-43-78.bvtn.or.frontiernet.net ([50.53.43.78] helo=[192.168.1.15]) by casper.infradead.org with esmtpsa (Exim 4.85 #2 (Red Hat Linux)) id 1akwlQ-0000UA-C0; Tue, 29 Mar 2016 16:45:08 +0000 To: moderated for non-subscribers , LKML From: Randy Dunlap Message-ID: <56FAB111.2070503@infradead.org> Date: Tue, 29 Mar 2016 09:45:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Cc: Jie Yang , Mark Brown , Borislav Petkov , Liam Girdwood , "Subhransu S. Prusty" Subject: [alsa-devel] [PATCH] ASoC: intel: make Kconfig selects depend on ACPI 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Prevent SND_SST_IPC_ACPI from being selected when CONFIG_ACPI is not enabled. This fixes the kconfig warning: warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_BYTCR_RT5651_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) selects SND_SST_IPC_ACPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && ACPI) Signed-off-by: Randy Dunlap Cc: Jie Yang Cc: alsa-devel@alsa-project.org --- sound/soc/intel/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- linux-next-20160308.orig/sound/soc/intel/Kconfig +++ linux-next-20160308/sound/soc/intel/Kconfig @@ -100,7 +100,7 @@ config SND_SOC_INTEL_BYTCR_RT5640_MACH depends on X86 && I2C select SND_SOC_RT5640 select SND_SST_MFLD_PLATFORM - select SND_SST_IPC_ACPI + select SND_SST_IPC_ACPI if ACPI select SND_SOC_INTEL_SST_MATCH if ACPI help This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR @@ -113,7 +113,7 @@ config SND_SOC_INTEL_BYTCR_RT5651_MACH depends on X86 && I2C select SND_SOC_RT5651 select SND_SST_MFLD_PLATFORM - select SND_SST_IPC_ACPI + select SND_SST_IPC_ACPI if ACPI select SND_SOC_INTEL_SST_MATCH if ACPI help This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR @@ -126,7 +126,7 @@ config SND_SOC_INTEL_CHT_BSW_RT5672_MACH depends on X86_INTEL_LPSS && I2C select SND_SOC_RT5670 select SND_SST_MFLD_PLATFORM - select SND_SST_IPC_ACPI + select SND_SST_IPC_ACPI if ACPI select SND_SOC_INTEL_SST_MATCH if ACPI help This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell @@ -139,7 +139,7 @@ config SND_SOC_INTEL_CHT_BSW_RT5645_MACH depends on X86_INTEL_LPSS && I2C select SND_SOC_RT5645 select SND_SST_MFLD_PLATFORM - select SND_SST_IPC_ACPI + select SND_SST_IPC_ACPI if ACPI select SND_SOC_INTEL_SST_MATCH if ACPI help This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell @@ -152,7 +152,7 @@ config SND_SOC_INTEL_CHT_BSW_MAX98090_TI select SND_SOC_MAX98090 select SND_SOC_TS3A227E select SND_SST_MFLD_PLATFORM - select SND_SST_IPC_ACPI + select SND_SST_IPC_ACPI if ACPI select SND_SOC_INTEL_SST_MATCH if ACPI help This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell