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

- From: Takashi Iwai \<hidden\>
- Date: 2026-09-07 09:09:35 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2026/09/17523827
- Thread: https://ratatoskr.run/linux-sound/2026/09/17523622/t.md

```text
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
```
