LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Nathan Chancellor <nathan@kernel.org>,
Cezary Rojewski <cezary.rojewski@intel.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Jie Yang <yang.jie@linux.intel.com>,
Mark Brown <broonie@kernel.org>,
Fabio Aiuto <fabioaiuto83@gmail.com>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH v2] ASoC: Intel: boards: Fix CONFIG_SND_SOC_SDW_MOCKUP select
Date: Thu, 2 Sep 2021 10:02:18 -0500 [thread overview]
Message-ID: <da246896-fbd3-be8d-355f-3c0a83e7d4eb@linux.intel.com> (raw)
In-Reply-To: <20210802212409.3207648-1-nathan@kernel.org>
On 8/2/21 4:24 PM, Nathan Chancellor wrote:
> 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. There are three
> ways to resolve this:
>
> 1. Make CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH select
> CONFIG_SND_SOC_SDW_MOCKUP only if CONFIG_EXPERT is set.
>
> 2. Make CONFIG_SND_SOC_SDW_MOCKUP's prompt depend on CONFIG_EXPERT so
> that it can be selected by options that only depend on
> CONFIG_SOUNDWIRE but still appear as a prompt to the user when
> CONFIG_EXPERT is set.
>
> 3. Make CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH imply
> CONFIG_SND_SOC_SDW_MOCKUP, which will select
> CONFIG_SND_SOC_SDW_MOCKUP when its dependencies are enabled but still
> allow the user to disable it.
>
> Go with the third option as it gives the most flexibility while
> retaining the original intent of the select.
>
> Fixes: 0ccac3bcf356 ("ASoC: Intel: boards: sof_sdw: add SoundWire mockup codecs for tests")
> Suggested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>
This patch was missed, maybe because I didn't provide a formal ack on my
own suggestion, so here goes:
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mark, can you add it to 5.15 fixes please? Thank you.
-Pierre
next prev parent reply other threads:[~2021-09-02 15:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-02 19:03 [PATCH] " Nathan Chancellor
2021-08-02 21:05 ` Pierre-Louis Bossart
2021-08-02 21:24 ` [PATCH v2] " Nathan Chancellor
2021-09-02 15:02 ` Pierre-Louis Bossart [this message]
2021-09-02 15:24 ` Mark Brown
2021-09-02 18:12 ` [PATCH for-5.15 v3] " Nathan Chancellor
2021-09-03 10:27 ` Mark Brown
2021-09-03 15:14 ` Nathan Chancellor
2021-09-03 16:26 ` Mark Brown
2021-09-03 15:18 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=da246896-fbd3-be8d-355f-3c0a83e7d4eb@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=fabioaiuto83@gmail.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=tiwai@suse.com \
--cc=yang.jie@linux.intel.com \
--subject='Re: [PATCH v2] ASoC: Intel: boards: Fix CONFIG_SND_SOC_SDW_MOCKUP select' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).