Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1672692pxb; Tue, 26 Oct 2021 13:32:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk2cVDfjkUYh7BoiVhXfT1vajeyoZ+DDQBYkDi9FWGsPvd7esl/diA4imLFZ7CakaqNMII X-Received: by 2002:a50:d885:: with SMTP id p5mr39505386edj.255.1635280328119; Tue, 26 Oct 2021 13:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635280328; cv=none; d=google.com; s=arc-20160816; b=0vRmZmZZkx70yMPwds5/+IHWgY5ghLgZ00fIZC0KyqvgIkClLAOVoT/pmstgh/z9wp S1Eh7Jm8GAzOhDUVQaf/Vd4LwifHJq1/KXd4XXZyGto7Ss+GL1DD77pilEChCz/2qrB2 PP2p2Ru2OOZ3tFapIHENTK9Kkz/nvXzymGh++QGHfJHf0dAjmWMUxtTV8Z9H3nVWm4v7 TaQpKwW06gdbmo9ZGeSPAP4QJSCrHqxwnWq8gpqMIC+bIH3aj1ba3ftg4J7ket0JsyWd 3WcROOTvKfXlUgSa6JKCXjXHNntiYFnfq4DrHUUbypAjAR1nQbFbBKXal+IHdFxbT9ov S6mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=pmorAFbxQ2A8mWDPILxkxmNN+LPgp8X8FoPhbaRb8LA=; b=k071Ni2HFDlJn/5dTrc0FgTp6kIpEyLQz7QGv2/jQv7gDnzE//BLxBOAncERjzxOqS YY9vMejdWY/fCYimUsPt0uLdhmZ05Z3L0ifETqCx/mrr+TpGqEUD4KivDz6Ib7Bm9eFW by29RMhc1sVV8ezL/G/oVWbID61dI2cutPt3fxgBwmjmh2dAMEjcgrDNiiOF8+HmAPdP dIyTgD3cGDL/N/7tiL29VXmFFvIRH2ZGhxA+P4P0s54huot45o1oZK6RUzM4pF36OlnF 2NCr+BO1kGhmK0asPt0id+X5CTdcW8pD7n6oz/bcDskbdRp9+p2DfP4OlkWDOBtarPtm uTfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gc38si12224597ejc.55.2021.10.26.13.31.41; Tue, 26 Oct 2021 13:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236543AbhJZPNy (ORCPT + 99 others); Tue, 26 Oct 2021 11:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234890AbhJZPNv (ORCPT ); Tue, 26 Oct 2021 11:13:51 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A835C061767 for ; Tue, 26 Oct 2021 08:11:27 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:441:6c1a:bc30:46e]) by xavier.telenet-ops.be with bizsmtp id AfBR260072hfXWm01fBRem; 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 1mfO6m-0084pD-Sj; Tue, 26 Oct 2021 17:11:24 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mfO6m-00DLmn-E0; Tue, 26 Oct 2021 17:11:24 +0200 From: Geert Uytterhoeven To: Ajit Kumar Pandey , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] ASoC: amd: acp: Wrap AMD Audio ACP components in SND_SOC_AMD_ACP_COMMON Date: Tue, 26 Oct 2021 17:11:21 +0200 Message-Id: <53d1d63bed1865293e6f5085ead21cdbb068fb15.1635260849.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The build only descends into sound/soc/amd/acp/ if CONFIG_SND_SOC_AMD_ACP_COMMON=y. Hence all later config symbols should depend on SND_SOC_AMD_ACP_COMMON, to prevent asking the user about config symbols for driver code that won't be build anyway. Fixes: 623621a9f9e1a2f4 ("ASoC: amd: Add common framework to support I2S on ACP SOC") Signed-off-by: Geert Uytterhoeven --- sound/soc/amd/acp/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig index 98ec18791d35ff3a..ea186cd31ba220ab 100644 --- a/sound/soc/amd/acp/Kconfig +++ b/sound/soc/amd/acp/Kconfig @@ -12,6 +12,8 @@ config SND_SOC_AMD_ACP_COMMON This option enables common modules for Audio-Coprocessor i.e. ACP IP block on AMD platforms. +if SND_SOC_AMD_ACP_COMMON + config SND_SOC_AMD_ACP_I2S tristate @@ -49,3 +51,5 @@ config SND_SOC_AMD_SOF_MACH select SND_SOC_AMD_MACH_COMMON help This option enables SOF sound card support for ACP audio. + +endif # SND_SOC_AMD_ACP_COMMON -- 2.25.1