ASoC: Select DMA driver for Samsung DAIs
PATCH 1/1 ASoC: Select DMA driver for Samsung DAIs
Kconfig got smart enough to do dependencies through selects so let's make use of that.
--- sound/soc/s3c24xx/Kconfig | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
sound/soc/s3c24xx/Kconfig +4 -0
@@ -10,6 +10,7 @@ config SND_S3C24XX_SOC config SND_S3C24XX_SOC_I2S tristate select S3C2410_DMA + select SND_S3C_SOC_PCM config SND_S3C_I2SV2_SOC tristate
@@ -18,16 +19,19 @@ config SND_S3C2412_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C2410_DMA + select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA + select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S_V4 tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA + select SND_S3C_SOC_PCM config SND_S3C_SOC_PCM tristate
Signature · 1 line
1.7.1
Quoted 38 lines · Mark Brown
Kconfiggot smart enough to do dependencies through selects so let's make use of that.Signed-off-by Mark Brown <[email protected]>---
sound/soc/s3c24xx/Kconfig | 4 ++++1 files changed, 4 insertions(+), 0 deletions(-)sound/soc/s3c24xx/Kconfig +0
-0@@ -10,6 +10,7 @@ config SND_S3C24XX_SOCconfig
SND_S3C24XX_SOC_I2S
tristate
selectS3C2410_DMA
+ selectSND_S3C_SOC_PCMconfig
SND_S3C_I2SV2_SOC
tristatesound/soc/s3c24xx/Kconfig +0
-0@@ -18,16 +19,19 @@ config SND_S3C2412_SOC_I2Stristate
selectSND_S3C_I2SV2_SOC
selectS3C2410_DMA
+ selectSND_S3C_SOC_PCMconfig
SND_S3C64XX_SOC_I2S
tristate
selectSND_S3C_I2SV2_SOC
selectS3C64XX_DMA
+ selectSND_S3C_SOC_PCMconfig
SND_S3C64XX_SOC_I2S_V4
tristate
selectSND_S3C_I2SV2_SOC
selectS3C64XX_DMA
+ selectSND_S3C_SOC_PCM
Quoted 3 lines
config
SND_S3C_SOC_PCM
tristate
--
SND_S3C_SOC_PCM builds s3c-pcm.c, which is the PCM controller's CPU driver.
s3c-dma.c is the DMA driver for Samsung SoCs, which is already built as the first
thing for Samsung ASoC.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 5 lines · Jassi Brar
SND_S3C_SOC_PCMbuildss3c-pcm.c, which is the PCM controller's CPU driver.
s3c-dma.cis the DMA driver for Samsung SoCs, which is already built as the first
thing for Samsung ASoC.
Gah, yeah. Wonder what my actual problem was then...
Quoted 30 lines · Mark Brown
Kconfiggot smart enough to do dependencies through selects so let's make use of that.Signed-off-by Mark Brown <[email protected]>--- sound/soc/s3c24xx/Kconfig | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)sound/soc/s3c24xx/Kconfig +2
-0@@ -10,6 +10,7 @@ config SND_S3C24XX_SOC config SND_S3C24XX_SOC_I2S tristate select S3C2410_DMA + select SND_S3C_SOC_PCM config SND_S3C_I2SV2_SOC tristate@@ -18,16 +19,19 @@ config SND_S3C2412_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C2410_DMA + select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA
sound/soc/s3c24xx/Kconfig config SND_S3C2412_SOC_I2S · line 37
Quoted 10 lines
sound/soc/s3c24xx/Kconfig +2
-0+ select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S_V4 tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA + select SND_S3C_SOC_PCM config SND_S3C_SOC_PCM tristate
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Quoted 13 lines · On 20 of September 2010 22:38:28 Mark Brown wrote:
Kconfiggot smart enough to do dependencies through selects so let's make use of that.Signed-off-by Mark Brown <[email protected]>--- sound/soc/s3c24xx/Kconfig | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)sound/soc/s3c24xx/Kconfig +0
-0
sound/soc/s3c24xx/Kconfig config SND_S3C24XX_SOC · line 13
Quoted 4 lines
sound/soc/s3c24xx/Kconfig +1
-0@@ -10,6 +10,7 @@ config SND_S3C24XX_SOC config SND_S3C24XX_SOC_I2S tristate select S3C2410_DMA + select SND_S3C_SOC_PCM
SND_S3C_SOC_PCM is not necessary for SND_S3C24XX_SOC, actually it works fine without it on my rx1950 (s3c2442-based)
Quoted 12 lines
sound/soc/s3c24xx/Kconfig +1
-0config SND_S3C_I2SV2_SOC tristate@@ -18,16 +19,19 @@ config SND_S3C2412_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C2410_DMA + select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA
sound/soc/s3c24xx/Kconfig config SND_S3C2412_SOC_I2S · line 37
Quoted 10 lines
sound/soc/s3c24xx/Kconfig +2
-0+ select SND_S3C_SOC_PCM config SND_S3C64XX_SOC_I2S_V4 tristate select SND_S3C_I2SV2_SOC select S3C64XX_DMA + select SND_S3C_SOC_PCM config SND_S3C_SOC_PCM tristate
Regards
Vasily