Skip to content

Commit dc3a6a9

Browse files
arndbvinodkoul
authored andcommitted
soundwire: intel_ace2x: add SND_HDA_CORE dependency
The ace2x driver can optionally use the HDA infrastructure, but can still build without that. However, with SND_HDA_CORE=m and SND_HDA_ALIGNED_MMIO=y, it fails to link as built-in: aarch64-linux-ld: drivers/soundwire/intel_ace2x.o: in function `intel_shim_wake': intel_ace2x.c:(.text+0x2518): undefined reference to `snd_hdac_aligned_read' aarch64-linux-ld: intel_ace2x.c:(.text+0x25d4): undefined reference to `snd_hdac_aligned_read' aarch64-linux-ld: intel_ace2x.c:(.text+0x268c): undefined reference to `snd_hdac_aligned_write' Add a Kconfig dependency that forces the soundwire driver to be a loadable module if necessary. Fixes: 79e7123 ("soundwire: intel_ace2x: fix wakeup handling") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20251223215014.534756-1-arnd@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent ef8405a commit dc3a6a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/soundwire/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ config SOUNDWIRE_INTEL
4040
select AUXILIARY_BUS
4141
depends on ACPI && SND_SOC
4242
depends on SND_SOC_SOF_HDA_MLINK || !SND_SOC_SOF_HDA_MLINK
43+
depends on SND_HDA_CORE || !SND_HDA_ALIGNED_MMIO
4344
help
4445
SoundWire Intel Master driver.
4546
If you have an Intel platform which has a SoundWire Master then

0 commit comments

Comments
 (0)