Skip to contentSkip to conversation

ALSA: hda: cix-ipbloq: Avoid build with 32bit archs

PATCH New Takashi Iwai 1 participant 1 message Aug 6 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda: cix-ipbloq: Avoid build with 32bit archs

The cix-ipbloq driver has an assumption of 64bit DMA address, and building it for 32bit dma_addr_t leads to a sparse / compile warning. Simply disable the builds for 32bit archs for avoiding such reports.

Fixes d91e9bd10125 ("ALSA: hda: add CIX IPBLOQ HDA controller support")
---
 sound/hda/controllers/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/hda/controllers/Kconfig +1 -0
index 5d6a77e68588..26ca69b09a9c 100644
@@ -33,6 +33,7 @@ config SND_HDA_TEGRA
 config SND_HDA_CIX_IPBLOQ
 	tristate "CIX IPBLOQ HD Audio"
 	depends on ARCH_CIX || COMPILE_TEST
+	depends on ARCH_DMA_ADDR_T_64BIT
 	select SND_HDA
 	select SND_HDA_ALIGNED_MMIO
 	help
Signature · 1 line
2.55.0