Re: [PATCH v2 01/11] ASoC: SDCA: allow building without ACPI

From: Takashi Iwai

Date: Mon Sep 07 2026 - 05:13:46 EST


On Mon, 07 Sep 2026 10:54:08 +0200,
Richard Fitzgerald wrote:
>
> On 07/09/2026 9:37 am, Srinivas Kandagatla wrote:
> > The SDCA class driver is useful on non-ACPI platforms where the
> > topology is supplied statically via sdca_class_hw_ops.get_function_data.
> >
> > Drop 'depends on ACPI' from SND_SOC_SDCA and guard the
> > ACPI-parsing implementations in sdca_device.c and sdca_functions.c
> > with IS_ENABLED(CONFIG_ACPI), providing empty stubs when ACPI is off.
>
> Would it be better to use IS_REACHABLE(CONFIG_ACPI)?

CONFIG_ACPI is a bool, so it's equivalent.


thanks,

Takashi