[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251028-fix-k1-i2s-v2-2-a547c15ed5c3@linux.spacemit.com>
Date: Tue, 28 Oct 2025 09:32:10 +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>,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [PATCH v2 2/2] ASoC: spacemit: use `depends on` instead of
`select`
Selecting DMA_CMA directly bypasses its dependency chain.
This can cause build warnings or errors if the required
dependencies are not enabled.
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Closes: https://lore.kernel.org/all/20251022141705.714b19b5@canb.auug.org.au/
Fixes: fce217449075 ("ASoC: spacemit: add i2s support for K1 SoC")
Signed-off-by: Troy Mitchell <troy.mitchell@...ux.spacemit.com>
---
Changelog in v2:
- this patch is introduced in v2
---
sound/soc/spacemit/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/spacemit/Kconfig b/sound/soc/spacemit/Kconfig
index 2179f94f3f179c54cd06e6ced5523ed3f5225cf4..e11f600a327f58681ce46df6e0e7a70f5f1d1234 100644
--- a/sound/soc/spacemit/Kconfig
+++ b/sound/soc/spacemit/Kconfig
@@ -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
--
2.51.1
Powered by blists - more mailing lists