[alsa-devel] [PATCH] ASoC: Select DMA driver for Samsung DAIs

Vasily Khoruzhick anarsoul at gmail.com
Wed Sep 22 08:10:48 CEST 2010


On 20 of September 2010 22:38:28 Mark Brown wrote:
> Kconfig got smart enough to do dependencies through selects so let's make
> use of that.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/s3c24xx/Kconfig |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
> index 7d8235d..1142d3e 100644
> --- a/sound/soc/s3c24xx/Kconfig
> +++ b/sound/soc/s3c24xx/Kconfig
> @@ -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)

>  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

Regards
Vasily


More information about the Alsa-devel mailing list