From patchwork Wed Nov 8 13:03:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 118256 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5261665qgn; Wed, 8 Nov 2017 05:05:28 -0800 (PST) X-Google-Smtp-Source: AGs4zMYLbFdzkeu+/YlwHbRaJjlesEAcMw6OBemSRFiVTRFJf4U+utRtp8TFBbNGSy9IUlPeFI0U X-Received: by 10.28.22.204 with SMTP id 195mr394064wmw.11.1510146328840; Wed, 08 Nov 2017 05:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510146328; cv=none; d=google.com; s=arc-20160816; b=R7ZUCJq/lN6wIbpNGZMKlf9+0FHWDzBtrCN6Naz56PcGbf/iTtWLmXHrPPNeg5ocfJ kc1MmYPhYh7X1DeB62/4jLpLJKinjtrflX3pXiKaaz143/ieztTI7kIUpl/qIO2+dn/U aiaVngeBrG9+MvlnzRXxNzRm0l0jgyKMydCgl94EfdPmG79TrUE6kwtOqQmgarYLViGt Vl08ghFcqF0N5+wk2IAlsMWOOLqo+BvtboO6jAkjfZy8TEDevTv/XDAMJFqPM44IhXZ1 uwdBaX5SA3FbQGwJ+4zgtxKMup0KZONfsyvvTPohEUXIstdZiZYHtnnR44zHqHcrgHsm Y62A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=1eB2MYrY30vyMlJfD3c5i/fpPOl405d1zXzqWyzSUmk=; b=Zfffbdh6nI3iX54J/ymsRxH1b6Kpvdv6HSvN4r8EKSVI4agIXsPcfJ0+DRGbjCZRiX 4bKmPGrzE/NnwKA7fkXd6R5snjD2+jb6MHvQ+XXsVVOIDiW0GZWLno8F+hJQMn00Faqu YddwGcFUNyCFZ1eKaGwUEDdU6Gual5bcrTBIPfeFk94Z3VND4XqC1PgmvTpPgw7UZomq oVIDeJMiclmbYMuKoxqozIqP9IShVROrZlv905cxkBkKeeViA3xaKTjQ2alR4GNhO62B ksrn1saZ0DtTmTbKMlnPXwwlUPhu8c+ohkdIBbi4cPw4vFDlVDNoentDIcLn5o+MP89N xWNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id s1si3407552wrf.301.2017.11.08.05.05.28; Wed, 08 Nov 2017 05:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 638BE267444; Wed, 8 Nov 2017 14:05:27 +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 38DE7267445; Wed, 8 Nov 2017 14:05:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.4.0 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by alsa0.perex.cz (Postfix) with ESMTP id A5C7C266D45 for ; Wed, 8 Nov 2017 14:05:24 +0100 (CET) Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MaU9p-1eW1My3BHN-00KCn4; Wed, 08 Nov 2017 14:03:57 +0100 From: Arnd Bergmann To: Mark Brown Date: Wed, 8 Nov 2017 14:03:19 +0100 Message-Id: <20171108130354.86106-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:oUyz3Z/Bd+oZxLxJHFPtT/9sKoNcJFnZRG1+QGJN48gAqMrKdZX hCqER5d5trCpjWb7wMpR54mEroG1aIMZIiYnd+hHruZdFE8RXqthDQUN/Q85VrpVy8FhR7E RFkWygSLRc0dCKRCFjHF+/YwQ4wqjY8263VNuDgdH+dhk1VKnWEehaE/u5NRhbIXb3YypJF AK2wQeAA9TrCwh3+B5E+g== X-UI-Out-Filterresults: notjunk:1; V01:K0:itZqqUX5D8U=:i1v7gxEMrI9lyFRlPMfX1/ XhRL9DDbFn5yAmiIJjvJ053k9n/UhjQ/JVOtx1s77Lrp6g4/XYVaTKdfiVoiLuvBFWsAnRPnc XXH3mpAPC/FayMBv5naFmE7VHISklU8g2yfpC1CRmb0vKYTQJ52zmQRJWc1l0Yem+d6H8RvdD kgC9Twq0h9WyV3mxE7lqmHdZA8CujNov3WmJqaMrCvuAovh0MfKkdcEeN6wDoMMnVjwUL3jGE fmHNdklHGUylWcOqjasyl3yy/XXFNWV4vVirV5HGQ+hNBtFoNxcN2+OOB+oqnsLCXbIa964sy JkUByexHY5US0Zo8bCY69mnHleaxS6UcZrjj0nUXFLnzVnR0VtfYYEj3Fi9g/knTtaEMoydLX HUhz/R00Za0W2CkB4ISix6obXc3/aeSuDFs5WM/iH3yGSzhNBrsNJmY3ZvJ1HfrcIvQIKQmfX 53YfwyfEowhUj/6xFELK454b7WQVzFFgFwohed52QiL1dGn008LIvaNvaTO0jnhqWbN28N87P 73npK5pwlCPk4fOWMjjikHGOf6E0lqcLzQ/cVY9/38lrN2ko8VvFq+LZ7xqZ4sxswZr8s+CPq cm9UmDn67HV0CKTYQDDB0FvK/Pb8TYOiMLBfDcchso2V+nosyR3KhYpQ2bgL/Lc52UF1e2AVh SpwLLQqgySv2LPQqurSqvuYhljsjlGECdpw5WlwYbsZISBx7PrOZ6WLCvBrr9+RlYpQod3oM6 +IppbZD8wxL7VDUPGtajzfWtqmFL6jVWsZ+fzg== Cc: alsa-devel@alsa-project.org, Andy Shevchenko , Arnd Bergmann , Liam Girdwood , Vinod Koul , linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai , Harsha Priya N , Naveen M , Daniel Drake Subject: [alsa-devel] [PATCH 1/2] ASoC: Intel: improve DMADEVICES dependency 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 As pointed out by Pierre-Louis Bossart, the depndency I added was broader than necessary, only Baytrail and Haswell/Broadwell actually need it, the others don't. At the same time, we have individual entries for the codecs that all have the 'select' statement but now don't need it any more. Fixes: f7a88db6fffd ("ASoC: Intel: fix Kconfig dependencies") Signed-off-by: Arnd Bergmann --- sound/soc/intel/Kconfig | 3 ++- sound/soc/intel/boards/Kconfig | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) -- 2.9.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index e18118209b75..bb8be10b8437 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -32,19 +32,20 @@ config SND_SOC_ACPI_INTEL_MATCH config SND_SOC_INTEL_SST_TOPLEVEL tristate "Intel ASoC SST drivers" depends on X86 || COMPILE_TEST - depends on DMADEVICES select SND_SOC_INTEL_MACH select SND_SOC_INTEL_COMMON config SND_SOC_INTEL_HASWELL tristate "Intel ASoC SST driver for Haswell/Broadwell" depends on SND_SOC_INTEL_SST_TOPLEVEL && SND_DMA_SGBUF + depends on DMADEVICES select SND_SOC_INTEL_SST select SND_SOC_INTEL_SST_FIRMWARE config SND_SOC_INTEL_BAYTRAIL tristate "Intel ASoC SST driver for Baytrail (legacy)" depends on SND_SOC_INTEL_SST_TOPLEVEL + depends on DMADEVICES select SND_SOC_INTEL_SST select SND_SOC_INTEL_SST_FIRMWARE diff --git a/sound/soc/intel/boards/Kconfig b/sound/soc/intel/boards/Kconfig index 449bc8baaa60..5063f15b4ca4 100644 --- a/sound/soc/intel/boards/Kconfig +++ b/sound/soc/intel/boards/Kconfig @@ -19,7 +19,6 @@ config SND_SOC_INTEL_HASWELL_MACH tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint" depends on SND_SOC_INTEL_MACH depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM - depends on DMADEVICES depends on SND_SOC_INTEL_HASWELL select SND_SOC_RT5640 help @@ -32,7 +31,6 @@ config SND_SOC_INTEL_BDW_RT5677_MACH tristate "ASoC Audio driver for Intel Broadwell with RT5677 codec" depends on SND_SOC_INTEL_MACH depends on X86_INTEL_LPSS && GPIOLIB && I2C - depends on DMADEVICES depends on SND_SOC_INTEL_HASWELL select SND_SOC_RT5677 help @@ -43,7 +41,6 @@ config SND_SOC_INTEL_BROADWELL_MACH tristate "ASoC Audio DSP support for Intel Broadwell Wildcatpoint" depends on SND_SOC_INTEL_MACH depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM - depends on DMADEVICES depends on SND_SOC_INTEL_HASWELL select SND_SOC_RT286 help @@ -56,7 +53,6 @@ config SND_SOC_INTEL_BYT_MAX98090_MACH tristate "ASoC Audio driver for Intel Baytrail with MAX98090 codec" depends on SND_SOC_INTEL_MACH depends on X86_INTEL_LPSS && I2C - depends on DMADEVICES depends on SND_SST_IPC_ACPI = n depends on SND_SOC_INTEL_BAYTRAIL select SND_SOC_MAX98090 @@ -68,7 +64,6 @@ config SND_SOC_INTEL_BYT_RT5640_MACH tristate "ASoC Audio driver for Intel Baytrail with RT5640 codec" depends on SND_SOC_INTEL_MACH depends on X86_INTEL_LPSS && I2C - depends on DMADEVICES depends on SND_SST_IPC_ACPI = n depends on SND_SOC_INTEL_BAYTRAIL select SND_SOC_RT5640