Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1669040pxb; Tue, 26 Oct 2021 13:27:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxppzVVg6rrWvIDlgUmga86XuMyc4x6Z6Fi9TVdXZ8hS4GKBdP1MSMQNwzU52DcuIaUCcVw X-Received: by 2002:a05:6402:5252:: with SMTP id t18mr37049304edd.129.1635280033903; Tue, 26 Oct 2021 13:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635280033; cv=none; d=google.com; s=arc-20160816; b=v1jNto+0fSa39MBhKP7RCDNVCjYyglVLVKJHkby+lvoUjnCr9wKSJTV1yis5TmfbnV CuprQRCOXgnnrnW2Xm1h0QzT27sS6IAXZnBNLughvXvuIzFk01NLkMnAXKtVrXVYezGh /HH3G9yy0qOPyCUgUEI7Q+665X6ZgoiWruis5KIO+jvYiKzxBxksiwTZCtd7a57n2t2i j9RaNDFGQuDy1qhSkkycTb4OMko4oKIRpyl+xPc097eON1e1rEA1MSgtZxb8JiIIjFda Edk42lvGyFDJrkmBg/PeQ0i2DXvnPbaHzBSUWPxXTbTVqWb7MX2etCpCYGzKtioFHd+o nPCg== 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=zOm4g/N73t8wdo5buZHAAugAG51fNII9l9FgKiLutDg=; b=yrGPzWEA8IvVJRGn6P9H/kmBX5DXrqT1b6LmF1olWW2f4SXkOlfd4hVtKwWpkE1rgq 4mvJ9f6+vPSHeeqm3CsC9darV5MiFeCljdBXZtcEVEHqrZMwVcBdclHC7u2EHcIT3kt8 BUEilpu0MQN1H2lB/jzr+d5tYIkT8w7KSNkAZ5mOqHaSd1dW55qgf9PIcqB+YH0HiX7U 60GzgElVRcCJe1dzMb1CB6IzrkHp/9JL2SakPBWZ5utiQmoIfqsi9/NRu89ZTdhj3KWI v3dh41E/SrumYtuMsGe7G4PdWxciNyU33UXiFRPb2e71bnzA0vbURtEpxs/ST2Yfhj7w gpzg== 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 d13si18326516edo.55.2021.10.26.13.26.49; Tue, 26 Oct 2021 13:27:13 -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 S235489AbhJZPNv (ORCPT + 99 others); Tue, 26 Oct 2021 11:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232745AbhJZPNv (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 48515C061745 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 AfBR260062hfXWm01fBRel; 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-0084pE-SH; Tue, 26 Oct 2021 17:11:24 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mfO6m-00DLmu-Ep; 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 2/3] ASoC: amd: acp: SND_SOC_AMD_{LEGACY_MACH,SOF_MACH} should depend on X86 && PCI && I2C Date: Tue, 26 Oct 2021 17:11:22 +0200 Message-Id: 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 If not all of CONFIG_X86, CONFIG_PCI, and CONFIG_I2C are set: WARNING: unmet direct dependencies detected for SND_SOC_AMD_MACH_COMMON Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && X86 && PCI [=y] && I2C [=y] Selected by [y]: - SND_SOC_AMD_LEGACY_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] - SND_SOC_AMD_SOF_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] As SND_SOC_AMD_MACH_COMMON depends on X86 && PCI && I2C, all symbols selecting it should depend on X86 && PCI && I2C, too. Fixes: 9d8a7be88b3365e4 ("ASoC: amd: acp: Add legacy sound card support for Chrome audio") Fixes: 9f84940f5004e1d2 ("ASoC: amd: acp: Add SOF audio support on Chrome board") Signed-off-by: Geert Uytterhoeven --- sound/soc/amd/acp/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig index ea186cd31ba220ab..006bd2dc5f0444ec 100644 --- a/sound/soc/amd/acp/Kconfig +++ b/sound/soc/amd/acp/Kconfig @@ -43,12 +43,14 @@ config SND_SOC_AMD_MACH_COMMON config SND_SOC_AMD_LEGACY_MACH tristate "AMD Legacy Machine Driver Support" select SND_SOC_AMD_MACH_COMMON + depends on X86 && PCI && I2C help This option enables legacy sound card support for ACP audio. config SND_SOC_AMD_SOF_MACH tristate "AMD SOF Machine Driver Support" select SND_SOC_AMD_MACH_COMMON + depends on X86 && PCI && I2C help This option enables SOF sound card support for ACP audio. -- 2.25.1