From patchwork Tue Oct 26 15:11:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12584981 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AD2FC433EF for ; Tue, 26 Oct 2021 15:12:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16960601FA for ; Tue, 26 Oct 2021 15:12:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 16960601FA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 81F5C4E; Tue, 26 Oct 2021 17:11:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 81F5C4E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1635261146; bh=cNG2U5n2TfvjZAu1/Lbn+V75ZjtgmKlOycPjMrbFqdY=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=u0stoev94MWr2g9l3Vpq8IcLyTdENRgK5zFK+0F7C3uX4+tdWg94aP6KQUZKlc9NW QF1eHOf96R3mD5jqr/NEY4YjS1tZDZeknu+DVDVsJDIXo8udh7DkNv1M6IhXP0nxrs wRT9PQ+s0YkSbTtTsHvAFyf2d+4GEJAtInTCUN9w= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B4BE7F80105; Tue, 26 Oct 2021 17:11:35 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A265DF804AE; Tue, 26 Oct 2021 17:11:33 +0200 (CEST) Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8A3A3F80105 for ; Tue, 26 Oct 2021 17:11:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8A3A3F80105 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:441:6c1a:bc30:46e]) by andre.telenet-ops.be with bizsmtp id AfBR2600B2hfXWm01fBR8V; Tue, 26 Oct 2021 17:11:25 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mfO6n-0084pF-BM; Tue, 26 Oct 2021 17:11:25 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mfO6m-00DLn1-FQ; Tue, 26 Oct 2021 17:11:24 +0200 From: Geert Uytterhoeven To: Ajit Kumar Pandey , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Subject: [PATCH 3/3] ASoC: amd: acp: SND_SOC_AMD_ACP_COMMON should depend on X86 && PCI Date: Tue, 26 Oct 2021 17:11:23 +0200 Message-Id: <30fcedce513186bf89f1f2655b665298250fdc66.1635260849.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" All configuration symbols for AMD Audio ACP conponents depend on X86 && PCI, except for SND_SOC_AMD_ACP_COMMON. Add a dependency on X86 && PCI to SND_SOC_AMD_ACP_COMMON, to prevent asking the user about AMD Audio ACP support when configuring a kernel without X86 or PCI support. Signed-off-by: Geert Uytterhoeven --- sound/soc/amd/acp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig index 006bd2dc5f0444ec..ba6ec96f0a64993d 100644 --- a/sound/soc/amd/acp/Kconfig +++ b/sound/soc/amd/acp/Kconfig @@ -8,6 +8,7 @@ config SND_SOC_AMD_ACP_COMMON tristate "AMD Audio ACP Common support" select SND_AMD_ACP_CONFIG + depends on X86 && PCI help This option enables common modules for Audio-Coprocessor i.e. ACP IP block on AMD platforms.