Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp725483pxb; Tue, 2 Feb 2021 16:48:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTH7cWDgyPfHRo/MT6E3DuoZD5lgfgTXLPkPJ+jGXRwVr79JS+4olvHU4+iwmsDtHfB7PZ X-Received: by 2002:a05:6402:2c4:: with SMTP id b4mr628977edx.49.1612313322693; Tue, 02 Feb 2021 16:48:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313322; cv=none; d=google.com; s=arc-20160816; b=rt6rEiJ8qvU2uOSXPmYXu3vSdEj0oLDriXHZjHDfYIe73MNn4aWkBU1qOlbk7PH2wh tMS/5iqQ3x/IkN84br5QcynGZxhMSXLtxVe15FTQ48bLrI6ZsKYjb434G6pEo+QGHDq7 LFDVP8H58U0p6KweAL4wHqdE4Stg+QIZmfXykHbQ0b3iNRALpuqzaRKZdSu1X4DhPr98 wen+tcXEORw2oDojoaoUj3endaVszos0GXTXjjgjv4odZRv9lWWC8f1xOSJ4lWAqDanO s6thwyEPbkHJ6yFj4lVq0inj/xWFzsVtIVYE5qlLeEy219fvNOEE4pQlXCDdDBhOllSi dnFw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GFcOQa5Hpjz7EIVMqRhUdXFZwiHh3jCc9OD5XOcYy9M=; b=dp0pO4yb+Bw2owzNJWRW0tTvGRCRrSJyDYE5B9iZikzjfJo/9VarOm33uHRpSdkZla wks5KqTpihwX/rkYvtZER6DnvLfO/D8oOGRsyRmzTqMKvQb4DPMUVXs8QazgDUWWufbl D0UbtQbo0kY1uDEP20tkA2KfnzrHYg4KfkCTPKBLiOkCtE0ur3ak0G7Vk3x69eqxnS+F fxV43vsa3owAdcw9JT582HKTXQ3NLQJmC+106RM0QfP0DE1rcVLzHxzpeWUsashvR8U4 twGKgBMfnWpSFTlxw8GW+o7zw+Rbum0V1Uq18h3u5qFvrQr1kuDYKox8UtSJsbgugVG7 Nrng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=y5XimHxH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq8si299076ejb.320.2021.02.02.16.48.18; Tue, 02 Feb 2021 16:48:42 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=y5XimHxH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239860AbhBBTtA (ORCPT + 99 others); Tue, 2 Feb 2021 14:49:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:42526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233204AbhBBNwQ (ORCPT ); Tue, 2 Feb 2021 08:52:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B634764FC0; Tue, 2 Feb 2021 13:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273416; bh=5BGQtXVUbXXaAD7nhktL8PbbZLzI4cPQ/RgcupTBFB8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y5XimHxH8qxI6ZtUIirKzXB04323tvmQmGD6WyhOqwm5M816+yFsLhZScN7GsQvlz xLCSlg4+CkmG7m3qWg5tk0eJXPCFMR5dslkiTGMJZJUY4yn0k1O74v0mMsnQu3qfhJ Cj9aPHwsSBCWFEOUOnQP+abUaLDvcT5S7xOlLdU4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 5.10 098/142] ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies Date: Tue, 2 Feb 2021 14:37:41 +0100 Message-Id: <20210202133001.756498989@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart [ Upstream commit bd9038faa9d7f162b47e1577e35ec5eac39f9d90 ] The LKP bot reports the following issue: WARNING: unmet direct dependencies detected for SOUNDWIRE_INTEL Depends on [m]: SOUNDWIRE [=m] && ACPI [=y] && SND_SOC [=y] Selected by [y]: - SND_SOC_SOF_INTEL_SOUNDWIRE [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_SOF_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_PCI [=y] This comes from having tristates being configured independently, when in practice the CONFIG_SOUNDWIRE needs to be aligned with the SOF choices: when the SOF code is compiled as built-in, the CONFIG_SOUNDWIRE also needs to be 'y'. The easiest fix is to replace the 'depends' with a 'select' and have a single user selection to activate SoundWire on Intel platforms. This still allows regmap to be compiled independently as a module. This is just a temporary fix, the select/depend usage will be revisited and the SOF Kconfig re-organized, as suggested by Arnd Bergman. Reported-by: kernel test robot Fixes: a115ab9b8b93e ('ASoC: SOF: Intel: add build support for SoundWire') Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210122005725.94163-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/intel/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig index 5bfc2f8b13b90..de7ff2d097ab9 100644 --- a/sound/soc/sof/intel/Kconfig +++ b/sound/soc/sof/intel/Kconfig @@ -337,7 +337,7 @@ config SND_SOC_SOF_HDA config SND_SOC_SOF_INTEL_SOUNDWIRE_LINK bool "SOF support for SoundWire" - depends on SOUNDWIRE && ACPI + depends on ACPI help This adds support for SoundWire with Sound Open Firmware for Intel(R) platforms. @@ -353,6 +353,7 @@ config SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE config SND_SOC_SOF_INTEL_SOUNDWIRE tristate + select SOUNDWIRE select SOUNDWIRE_INTEL help This option is not user-selectable but automagically handled by -- 2.27.0