Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: spacemit: fix build warning and error

Merge series from Troy Mitchell <troy.mitchell@linux.spacemit.com>:

After the i2s patch for K1 was merged, two issues were identified:
- Missing error handling for the init_dai() function [1],
which is required since the function allocates memory internally.
- The Kconfig entry ignored the dependency chain of DMA_CMA [2].

This series fixes both issues.

Link: https://lore.kernel.org/all/aPtiNCZ_KBezL2Dr@stanley.mountain/#t [1]
Link: https://lore.kernel.org/all/20251022141705.714b19b5@canb.auug.org.au/ [2]

+1 -2
+1 -2
sound/soc/spacemit/Kconfig
··· 6 6 config SND_SOC_K1_I2S 7 7 tristate "K1 I2S Device Driver" 8 8 select SND_SOC_GENERIC_DMAENGINE_PCM 9 - select CMA 10 - select DMA_CMA 9 + depends on DMA_CMA 11 10 help 12 11 Say Y or M if you want to add support for I2S driver for 13 12 K1 I2S controller. The device supports up to maximum of