From patchwork Wed Sep 26 12:46:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 147574 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp679154lji; Wed, 26 Sep 2018 05:47:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63lrlEMRhq+B6Wx4xjNghGOwfBdX0bGHygIahvws77Q+zEXp2qkosuD9Nh5nLSldH47b656 X-Received: by 2002:adf:e603:: with SMTP id p3-v6mr5082745wrm.254.1537966055993; Wed, 26 Sep 2018 05:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537966055; cv=none; d=google.com; s=arc-20160816; b=z81L51SZCeHbuAIZQiJIxakMjBPI1ZPIUd6GS1wZh3XAIeA2dsTDPdqP8HkoO/jXB3 T4mv7ntclR7s55pSJWgMD7/sXCzExZpnsz+Kc/sYU/dUOnmXSoiL+PwnLAhiFhrhGYSR cmJx/hHkTgIg2rsfSlHC714YvR2hAqwj3Qu6TtRjYENll8c+G8bDjA1j0kIBl2RPNqpp NRerjTZmcd2xqPJlj8eubPKjRLQDh87BDdXbVBSYLKXEOYbCMGKopqqfxQjcV2KpG7W2 KGxcK2qODTFQZCGrzJENud1hIEkh9vzRqFW553jy3cw9+WixVLXS+7prCfqjjPn4Osjk CMOQ== 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; bh=Lp+CSjEtn6AhGpx1ntnt51K3xErOEFJpfeFjj685yn0=; b=EWeXYNNHT+E1fs2XMekPhjuPWXD+717Kp0ofugE3cdgGboIVvxym8Pf7phKh+cBJVE +yfHoOTKaGwH95KKgumezkBffzj1n6LqH8oaBU1C3KU/zEJAQmvJjbDauy8JJtgz7KMH U03w0yKYCic/hPQDUpSCZVz0mbLVpWRjaT5ItHK991fEmhnAr6IUNeat62r7UJAkBeNT 9TJGwaE02G5gmfC58kV2/BhMzEB7+SeAmm6rXrhZwShryZyvU/IAjQNRF8fI23wDmrPD zkex/Z/luVN5wTU/j0ASPVAPFP+k/PzrNw6R5TPWwL05KKiXWD2KWok5JGcb3x/fhm8z ++1A== 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 d16-v6si5198752wrp.194.2018.09.26.05.47.35; Wed, 26 Sep 2018 05:47:35 -0700 (PDT) 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 B6ACD2678BE; Wed, 26 Sep 2018 14:47:29 +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 448902678C4; Wed, 26 Sep 2018 14:47:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 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 7D18F2678BA for ; Wed, 26 Sep 2018 14:47:25 +0200 (CEST) Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MI4gb-1g0xo714sR-00FAzJ; Wed, 26 Sep 2018 14:46:48 +0200 From: Arnd Bergmann To: Robert Jarzmik Date: Wed, 26 Sep 2018 14:46:35 +0200 Message-Id: <20180926124645.1841850-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:Paslmu6oCOV7BygejY9T2cBoJh+GkiVnwNcqwNUmwxRQt5Axwnx BcIQ/Cm7jdBH7iP0jZEycGKxfYfF1gbKXfsukF1vNaOMoJwIhPYUlzJoF4UPHV7tFO50mMy KTKMrd4ej3F/S3RLhyw0ZwXUH7rbUCVttqB22fx1sLs0F+fuBExND8qvP2p54u7fYD+7S8M Hi8ma0W3bqyDQBMP/1e1g== X-UI-Out-Filterresults: notjunk:1; V01:K0:OGmLdEDjc8M=:2CXxnncQ0uJ7LfBiETyng9 Efzk/R+iThQwcWDlhyIhSo/Q3nvEiv5jCs2u27sgSaIJkSkZ+9HcEogA+r+n0stBtvYf1C63K 8QlIjSw17K9dXG/0ycZnxzPXHI3uzlBRnZjj0TOnVa996huOfhA1fsPx17otbV1OT4UfBPK3R I/0oGvQgKpxxvH+ff5GC00xDI07LtuJj0h5UAKUej0TPZyF1WyQJpt1eSvCcQhsW/J23xTyjG pAHYiqqeyrOQVSEJuTrFtDKNgIceQfA7Xhd5N04uTKK0RI23I07R9CgLAsNAFIYqWyVET93y7 qAugFyYfBNc84MwvLi/59UYrCVXH/inaYndhbM7XignRVO0X4rsyQdOc9xH69IZR7Bh+jWJ8l 4oYpHj/kZlyTbFArZyzb7I9w5y3adhaRLCtC9gNQE6zUmbg8Nndm0z1erPpuaimHuHx94pmz2 Ac+ThkayWeulAguFs54yFUM2CsjyHYXVyacm/ySZbf8OqOmzaz8bMcbWXT9v5RhPz7QQN7G6Z jn0UG0u7uvXzy9qCkcaVRpffDHmyXhCssRjSMaF5ZfZ71ifjKLVrGcuc/8YlJIYiWotbQIJql w0bOJBmiXSJgfD5DC0GUexWUTI6xe2QDJtLDqZP6lIO+6hlvCiimh22kmfwMzSqvqyUUOYX+A mSEQPcKW/BkzlgqwZMd/b4Ol64iZJgIRBW79xp2Wt+iWyNFH1KSao8FrGaI1rb92Ads4= Cc: alsa-devel@alsa-project.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Haojian Zhuang , Mark Brown , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, Daniel Mack Subject: [alsa-devel] [PATCH] ASoC: pxa: avoid AC97_BUS build warning 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 Selecting AC97_BUS_NEW from SND_PXA2XX_SOC_AC97 leads to a Kconfig warning if any other driver selects AC97_BUS: WARNING: unmet direct dependencies detected for AC97_BUS_COMPAT Depends on [n]: SOUND [=y] && !UML && SND [=y] && AC97_BUS_NEW [=y] && !AC97_BUS [=y] Selected by [y]: - SND_SOC_WM9713 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && AC97_BUS_NEW [=y] I don't know if that combination is supposed to work. Assuming it is not, this adds a dependency on all users for PXA to avoids the combination. Fixes: 1c8bc7b3de5e ("ASoC: pxa: switch to new ac97 bus support") Signed-off-by: Arnd Bergmann --- sound/soc/pxa/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig index 29f577e6dfc0..943b44de1464 100644 --- a/sound/soc/pxa/Kconfig +++ b/sound/soc/pxa/Kconfig @@ -79,6 +79,7 @@ config SND_PXA2XX_SOC_TOSA tristate "SoC AC97 Audio support for Tosa" depends on SND_PXA2XX_SOC && MACH_TOSA depends on MFD_TC6393XB + depends on !AC97_BUS select SND_PXA2XX_SOC_AC97 select SND_SOC_WM9712 help @@ -88,6 +89,7 @@ config SND_PXA2XX_SOC_TOSA config SND_PXA2XX_SOC_E740 tristate "SoC AC97 Audio support for e740" depends on SND_PXA2XX_SOC && MACH_E740 + depends on !AC97_BUS select SND_SOC_WM9705 select SND_PXA2XX_SOC_AC97 help @@ -97,6 +99,7 @@ config SND_PXA2XX_SOC_E740 config SND_PXA2XX_SOC_E750 tristate "SoC AC97 Audio support for e750" depends on SND_PXA2XX_SOC && MACH_E750 + depends on !AC97_BUS select SND_SOC_WM9705 select SND_PXA2XX_SOC_AC97 help @@ -106,6 +109,7 @@ config SND_PXA2XX_SOC_E750 config SND_PXA2XX_SOC_E800 tristate "SoC AC97 Audio support for e800" depends on SND_PXA2XX_SOC && MACH_E800 + depends on !AC97_BUS select SND_SOC_WM9712 select SND_PXA2XX_SOC_AC97 help @@ -116,6 +120,7 @@ config SND_PXA2XX_SOC_EM_X270 tristate "SoC Audio support for CompuLab EM-x270, eXeda and CM-X300" depends on SND_PXA2XX_SOC && (MACH_EM_X270 || MACH_EXEDA || \ MACH_CM_X300) + depends on !AC97_BUS select SND_PXA2XX_SOC_AC97 select SND_SOC_WM9712 help @@ -126,6 +131,7 @@ config SND_PXA2XX_SOC_PALM27X bool "SoC Audio support for Palm T|X, T5, E2 and LifeDrive" depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \ MACH_PALMT5 || MACH_PALMTE2) + depends on !AC97_BUS select SND_PXA2XX_SOC_AC97 select SND_SOC_WM9712 help @@ -155,6 +161,7 @@ config SND_SOC_TTC_DKB config SND_SOC_ZYLONITE tristate "SoC Audio support for Marvell Zylonite" depends on SND_PXA2XX_SOC && MACH_ZYLONITE + depends on !AC97_BUS select SND_PXA2XX_SOC_AC97 select SND_PXA_SOC_SSP select SND_SOC_WM9713 @@ -194,6 +201,7 @@ config SND_PXA2XX_SOC_MAGICIAN config SND_PXA2XX_SOC_MIOA701 tristate "SoC Audio support for MIO A701" depends on SND_PXA2XX_SOC && MACH_MIOA701 + depends on !AC97_BUS select SND_PXA2XX_SOC_AC97 select SND_SOC_WM9713 help