diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2025-10-28 04:32:10 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-28 13:17:35 +0300 |
| commit | 66fecfa91deb536a12ddf3d878a99590d7900277 (patch) | |
| tree | 41c445a9a9d5ad29697ce972af32a14ec8b4c2b8 | |
| parent | 7a78e387654f20e798ceab5bae9c1f5557416431 (diff) | |
| download | linux-66fecfa91deb536a12ddf3d878a99590d7900277.tar.xz | |
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@canb.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@linux.spacemit.com>
Link: https://patch.msgid.link/20251028-fix-k1-i2s-v2-2-a547c15ed5c3@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | sound/soc/spacemit/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/spacemit/Kconfig b/sound/soc/spacemit/Kconfig index 2179f94f3f17..e11f600a327f 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 |
