Re: [PATCH] ASoC: SOF: ipc4-topology: fix link failure with SND_INTEL_DSP_CONFIG=m
From: Arnd Bergmann
Date: Wed Nov 25 2026 - 14:29:23 EST
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