[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251028-fix-k1-i2s-v2-0-a547c15ed5c3@linux.spacemit.com>
Date: Tue, 28 Oct 2025 09:32:08 +0800
From: Troy Mitchell <troy.mitchell@...ux.spacemit.com>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Yixun Lan <dlan@...too.org>, Jinmei Wei <weijinmei@...ux.spacemit.com>
Cc: linux-sound@...r.kernel.org, linux-riscv@...ts.infradead.org,
spacemit@...ts.linux.dev, linux-kernel@...r.kernel.org,
Troy Mitchell <troy.mitchell@...ux.spacemit.com>,
Dan Carpenter <dan.carpenter@...aro.org>,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [PATCH v2 0/2] ASoC: spacemit: fix build warning and error
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@...ux.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@...ux.spacemit.com>
Powered by blists - more mailing lists