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

- From: Richard Fitzgerald \<rf@opensource.cirrus.com\>
- Date: 2026-09-07 08:54:50 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2026/09/17523735
- Thread: https://ratatoskr.run/linux-sound/2026/09/17523622/t.md

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

```
