From: "Arnd Bergmann" <arnd@arndb.de>
To: "Jude Gyimah" <jude.gyimah87@gmail.com>,
lgirdwood@gmail.com,
"Peter Ujfalusi" <peter.ujfalusi@linux.intel.com>,
"Bard Liao" <yung-chuan.liao@linux.intel.com>,
"Daniel Baluta" <daniel.baluta@nxp.com>,
"Kai Vehmanen" <kai.vehmanen@linux.intel.com>,
"Pierre-Louis Bossart" <pierre-louis.bossart@linux.dev>,
"Vijendar Mukunda" <Vijendar.Mukunda@amd.com>
Cc: "Mark Brown" <broonie@kernel.org>,
"Jaroslav Kysela" <perex@perex.cz>,
tiwai@suse.com, sound-open-firmware@alsa-project.org,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: SOF: ipc4-topology: fix link failure with SND_INTEL_DSP_CONFIG=m
Date: Wed, 25 Nov 2026 20:28:37 +0100 [thread overview]
Message-ID: <c8c7c888-4b9c-490d-afd5-0b49ae98b5cf@app.fastmail.com> (raw)
In-Reply-To: <20261125183706.53331-1-jude.gyimah87@gmail.com>
On Wed, Nov 25, 2026, at 19:37, Jude Gyimah wrote:
> }
>
> -#if IS_ENABLED(CONFIG_ACPI) && IS_ENABLED(CONFIG_SND_INTEL_NHLT)
> +#if IS_ENABLED(CONFIG_ACPI) &&
> IS_REACHABLE(CONFIG_SND_INTEL_DSP_CONFIG)
> static int snd_sof_get_hw_config_params(struct snd_sof_dev *sdev,
> struct snd_sof_dai *dai,
IS_REACHABLE() is practically always a mistake, don't do that.
There is surely a way to correctly express the dependencies and avoid
the configuration that leads to this.
Arnd
next prev parent reply other threads:[~2026-11-25 19:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 18:37 Jude Gyimah
2026-11-25 19:28 ` Arnd Bergmann [this message]
2026-11-25 20:53 ` Jude Gyimah
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=c8c7c888-4b9c-490d-afd5-0b49ae98b5cf@app.fastmail.com \
--to=arnd@arndb.de \
--cc=Vijendar.Mukunda@amd.com \
--cc=broonie@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=jude.gyimah87@gmail.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=sound-open-firmware@alsa-project.org \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@linux.intel.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®