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

From
Takashi Iwai <hidden>
Date
2026-09-07 09:09:35
Also in
linux-arm-msm, linux-sound, lkml
Reply to
Richard Fitzgerald, 2026-09-07
On Mon, 07 Sep 2026 10:54:08 +0200,
Richard Fitzgerald wrote:
On 07/09/2026 9:37 am, Srinivas Kandagatla wrote:
quoted
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
Thread (50 messages) 50 messages, 8 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help