diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2026-09-25 17:10:42 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-29 12:50:01 +0100 |
| commit | 677507a5303a6716d9e0bbf3a8ba8c0f27391ab2 (patch) | |
| tree | c4cacd908062e3517360c2c2dd3801eee5a5487d /scripts/Makefile.thinlto | |
| parent | ab2766a603e1758104b1b66a4f1ecc0f43d932dd (diff) | |
| download | linux-677507a5303a6716d9e0bbf3a8ba8c0f27391ab2.tar.gz linux-677507a5303a6716d9e0bbf3a8ba8c0f27391ab2.zip | |
ASoC: SDCA: allow building without ACPI
The SDCA class driver is useful on non-ACPI platforms where the
topology is supplied statically via sdca_class_ops.populate_function.
Drop 'depends on ACPI' from SND_SOC_SDCA and guard the ACPI-specific
enumeration helpers (sdca_lookup_functions, sdca_lookup_swft,
sdca_lookup_interface_revision) in sdca_device.c and sdca_functions.c
with IS_ENABLED(CONFIG_ACPI), providing empty stubs when ACPI is off.
The fwnode-based DisCo parser (sdca_parse_function() and its helpers
in sdca_functions.c) stays compiled unconditionally: it uses only
fwnode_* APIs and can in principle be reached from any firmware
backend that supplies a matching device tree.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260925161049.758913-2-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
