linux/sound/soc/spacemit/Kconfig
Troy Mitchell 66fecfa91d
ASoC: spacemit: use depends on instead of select
Selecting DMA_CMA directly bypasses its dependency chain.
This can cause build warnings or errors if the required
dependencies are not enabled.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20251022141705.714b19b5@canb.auug.org.au/
Fixes: fce2174490 ("ASoC: spacemit: add i2s support for K1 SoC")
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://patch.msgid.link/20251028-fix-k1-i2s-v2-2-a547c15ed5c3@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-10-28 10:17:35 +00:00

16 lines
407 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
menu "SpacemiT"
depends on COMPILE_TEST || ARCH_SPACEMIT
depends on HAVE_CLK
config SND_SOC_K1_I2S
tristate "K1 I2S Device Driver"
select SND_SOC_GENERIC_DMAENGINE_PCM
depends on DMA_CMA
help
Say Y or M if you want to add support for I2S driver for
K1 I2S controller. The device supports up to maximum of
2 channels each for play and record.
endmenu