[alsa-devel] [PATCH] ASoC: Select DMA driver for Samsung DAIs
Jassi Brar
jassisinghbrar at gmail.com
Tue Sep 21 02:38:04 CEST 2010
On Tue, Sep 21, 2010 at 4:38 AM, Mark Brown
<broonie at opensource.wolfsonmicro.com> 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
>
> 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
> --
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.
More information about the Alsa-devel
mailing list