ASoC: davinci: Select SND_EDMA_SOC when SND_DAVINCI_SOC is enabled
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 3 Mar 2015 14:45:17 +0000 (16:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 4 Mar 2015 17:26:28 +0000 (17:26 +0000)
edma-pcm going to replace davinci-pcm as platform driver for daVinci
platform.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/Kconfig

index 2b81ca418d2a67d93087e0acd0fc896cb2478210..eae4e229f341d0bc2ec8ee27062660b2231cf074 100644 (file)
@@ -1,10 +1,11 @@
 config SND_DAVINCI_SOC
        tristate "SoC Audio for TI DAVINCI"
        depends on ARCH_DAVINCI
+       select SND_EDMA_SOC
 
 config SND_EDMA_SOC
        tristate "SoC Audio for Texas Instruments chips using eDMA (AM33XX/43XX)"
-       depends on SOC_AM33XX || SOC_AM43XX
+       depends on SOC_AM33XX || SOC_AM43XX || ARCH_DAVINCI
        select SND_SOC_GENERIC_DMAENGINE_PCM
        help
          Say Y or M here if you want audio support for TI SoC which uses eDMA.