mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: spacemit: fix build warning and error
@ 2025-10-28  1:32 Troy Mitchell
  2025-10-28  1:32 ` [PATCH v2 1/2] ASoC: spacemit: add failure check for spacemit_i2s_init_dai() Troy Mitchell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Troy Mitchell @ 2025-10-28  1:32 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Yixun Lan, Jinmei Wei
  Cc: linux-sound, linux-riscv, spacemit, linux-kernel, Troy Mitchell,
	Dan Carpenter, Stephen Rothwell

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@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@linux.spacemit.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-28 14:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-28  1:32 [PATCH v2 0/2] ASoC: spacemit: fix build warning and error Troy Mitchell
2025-10-28  1:32 ` [PATCH v2 1/2] ASoC: spacemit: add failure check for spacemit_i2s_init_dai() Troy Mitchell
2025-10-28  1:32 ` [PATCH v2 2/2] ASoC: spacemit: use `depends on` instead of `select` Troy Mitchell
2025-10-28 14:27 ` [PATCH v2 0/2] ASoC: spacemit: fix build warning and error Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®