Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1860775pxy; Mon, 2 Aug 2021 12:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKaqZCvLQ/eoB3Wpdo8Kj9x2NnYxF1S2ZCG2BDq6NCKCFtFTG8W0EsPu3og9r4cR7eihxR X-Received: by 2002:a02:c906:: with SMTP id t6mr15974210jao.23.1627931313629; Mon, 02 Aug 2021 12:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627931313; cv=none; d=google.com; s=arc-20160816; b=XhPtnD02qfRBacNjylPa4YeNihuhhwnVYdsVnDbz342m9z8P9WgFLq6zkUwTM6suhN BP86LAdZb8wP22nK0ujNXqVLSKMmVVDi4B3shADD7z+8ST1hvJH9xzA3bRsNAILI/juy ExZg5KfeXozWaba9AsEtT4ygRP21C1FJqf0hgcWezISZAcQ/N6MABgvZHJu0M/h3Uz5E JOdvXk5LhJnzEDCxw9YiZSpqUEraVtv1HVH7M0L0jXCoj6cSHjkpef850eh7r+S3Ki9m CNvm21shASXzfV277rkS7ygu7P5BpB4cdZD4RV9oyEIeONPGqqfdUDw5oX/4A1SBEqFq Eb3w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=VKMsZ9I9zXYZC3N++AcFp57G5O+FcswjezC2DRpNJ3w=; b=aLWuINv6hv3ZHitXnXZcJre5s+C3TnfDR5ooHOzh+rw5uH0Ssru8upQ3EMosSjnb0M dyHJAklN6b3EGce3k91dy9ojdWX9aQljE576Oh113jAHEkh4I5qSFT88CIs20+FqsAxT nsGzaaapb3KOKY/k8RybcEJ6WrBC1iMJOrGK3jDZnOkMOLalIb+xKVQSFh+0NlJmRY6y ts19URTrfOU6B1b1LOHHmQ2UVVezMy/7wbhWcD3dPUHGCLnirK1utnv0JVfDARhMBvog FeKrH1BKLBOZcItP8g78D7ZxXrgy9HV/C3hxqLK7wRYtr1sPo64haSpthb1q75HfLN0w edJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BZpOPWEX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si13902717iog.99.2021.08.02.12.08.19; Mon, 02 Aug 2021 12:08:33 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BZpOPWEX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230478AbhHBTFp (ORCPT + 99 others); Mon, 2 Aug 2021 15:05:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:43216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231314AbhHBTFn (ORCPT ); Mon, 2 Aug 2021 15:05:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 430A3610FE; Mon, 2 Aug 2021 19:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627931134; bh=hkaaGUj6LD92fLf2eKN3+HpYv9SsLiKngPrIRD0KtlM=; h=From:To:Cc:Subject:Date:From; b=BZpOPWEXpoS4JqwJKBQ3WW6TKoUs/O6B6fl0X2XqIDOPhRAIczQ2sRhOjDSi+TUpZ UJwoRdWOn4u58xoJdyE6wk57hHHSuFCrZ9Qwd0RvcD75fcBO4KixsiDiBKR4PGNRoy d8ts/TqUVVkHMaPyKnZRDXZkj7ajNFBo4S4tm+Ls63YwceeGSJ1dLT5c+6CZqD5lRq K+E01boePl76Fie14FgcUnD12fGdZ9LKDqCuX2tHSjA0s9OlwlYp3WHfML1h2BcbY3 6x/elMge61OQoubmsLtlaiTCfKyv17WzALhkWVY+Mtg5MjBlUGMYs/tP0UJvVYfNA5 3cVxMw4iOSCDA== From: Nathan Chancellor To: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: [PATCH] ASoC: Intel: boards: Fix CONFIG_SND_SOC_SDW_MOCKUP select Date: Mon, 2 Aug 2021 12:03:52 -0700 Message-Id: <20210802190351.3201677-1-nathan@kernel.org> X-Mailer: git-send-email 2.32.0.264.g75ae10bc75 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH is enabled without CONFIG_EXPERT, there is a Kconfig warning about unmet dependencies: WARNING: unmet direct dependencies detected for SND_SOC_SDW_MOCKUP Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && EXPERT [=n] && SOUNDWIRE [=y] Selected by [y]: - SND_SOC_INTEL_SOUNDWIRE_SOF_MACH [=y] && ... Selecting a symbol does not account for dependencies so if symbol A selects symbol B which depends on symbol C, symbol B or its select of symbol A should depend on symbol C as well. Make the CONFIG_SND_SOC_SDW_MOCKUP select in CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH depend on CONFIG_EXPERT as the help text for CONFIG_SND_SOC_SDW_MOCKUP indicates it is intended to be a development option. Fixes: 0ccac3bcf356 ("ASoC: Intel: boards: sof_sdw: add SoundWire mockup codecs for tests") Signed-off-by: Nathan Chancellor --- An alternative here is if CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH wants to unconditionally select CONFIG_SND_SOC_SDW_MOCKUP, the "depends on EXPERT" can be moved to the prompt (tristate "..." if EXPERT). I am happy to send a new patch if that is what is desired. sound/soc/intel/boards/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/Kconfig b/sound/soc/intel/boards/Kconfig index 046955bf717c..8284c46d7435 100644 --- a/sound/soc/intel/boards/Kconfig +++ b/sound/soc/intel/boards/Kconfig @@ -602,7 +602,7 @@ config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH select SND_SOC_DMIC select SND_SOC_INTEL_HDA_DSP_COMMON select SND_SOC_INTEL_SOF_MAXIM_COMMON - select SND_SOC_SDW_MOCKUP + select SND_SOC_SDW_MOCKUP if EXPERT help Add support for Intel SoundWire-based platforms connected to MAX98373, RT700, RT711, RT1308 and RT715 base-commit: 170c0d7460fc4aa522995ae4096b5a442f50a1fc -- 2.32.0.264.g75ae10bc75