summary refs log tree commit diff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-06-29 17:04:33 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-03 20:07:24 +0100
commitdf79f55df3992fdd5dd206de6aa9af6a8ec1f86f (patch)
tree6a961948d99e0b574cd1662a063616b1665981d1 /sound/soc/tegra/Kconfig
parentda602ab8a10e47c59be1a7ce524aaa76b77c23b6 (diff)
downloadlinux-df79f55df3992fdd5dd206de6aa9af6a8ec1f86f.tar.gz
ASoC: tegra: use dmaengine based dma driver
Use the dmaengine based Tegra APB DMA driver for
data transfer between SPI fifo and memory in
place of legacy Tegra APB DMA.

Because generic soc-dmaengine-pcm uses the DMAs API
based on dmaengine, using the exported APIs provided
by this generic driver.

The new driver is selected if legacy driver is not
selected and new dma driver is enabled through config
file.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index c1c8e955f4d3..7b6a1ebd197a 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -1,7 +1,8 @@
 config SND_SOC_TEGRA
 	tristate "SoC Audio for the Tegra System-on-Chip"
-	depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
+	depends on ARCH_TEGRA && (TEGRA_SYSTEM_DMA || TEGRA20_APB_DMA)
 	select REGMAP_MMIO
+	select SND_SOC_DMAENGINE_PCM if TEGRA20_APB_DMA
 	help
 	  Say Y or M here if you want support for SoC audio on Tegra.