[PATCH v2 0/2] ASoC: spacemit: fix build warning and error
Troy Mitchell
troy.mitchell at linux.spacemit.com
Mon Oct 27 18:32:08 PDT 2025
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]
Signed-off-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
---
Troy Mitchell (2):
ASoC: spacemit: add failure check for spacemit_i2s_init_dai()
ASoC: spacemit: use `depends on` instead of `select`
sound/soc/spacemit/Kconfig | 3 +--
sound/soc/spacemit/k1_i2s.c | 4 +++-
2 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 507d05188939fd47c9a11c3ab647f7db1bbef58c
change-id: 20251028-fix-k1-i2s-3253276f8796
Best regards,
--
Troy Mitchell <troy.mitchell at linux.spacemit.com>
More information about the linux-riscv
mailing list