mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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]
This commit is contained in:
commit
060028c7fc
|
|
@ -6,8 +6,7 @@ menu "SpacemiT"
|
|||
config SND_SOC_K1_I2S
|
||||
tristate "K1 I2S Device Driver"
|
||||
select SND_SOC_GENERIC_DMAENGINE_PCM
|
||||
select CMA
|
||||
select DMA_CMA
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user