summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-08-02 15:09:18 -0600
committerStephen Warren <swarren@nvidia.com>2011-08-04 22:57:54 -0600
commitabe7f890a18fd703aefea854d0a37010674d09df (patch)
treecff214152a6f5ddcbb6b431bad1fdeae33da34be /sound
parent76e8339a49eab68348522b2088f4d18c20ae64e5 (diff)
ASoC: Tegra: Introduce separate Kconfig variable for DAS driver
This is mainly for symmetry with a future Tegra30 driver, where the equivalent of the DAS (the AHUB) is useful separately from the I2S driver. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/Kconfig7
-rw-r--r--sound/soc/tegra/Makefile2
2 files changed, 7 insertions, 2 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index 3bf64edd4df4..6e03af7a1d46 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -5,9 +5,14 @@ config SND_SOC_TEGRA
help
Say Y or M here if you want support for SoC audio on Tegra.
+config SND_SOC_TEGRA_DAS
+ tristate "Tegra Digital Audio Switch driver"
+ depends on SND_SOC_TEGRA
+
config SND_SOC_TEGRA_I2S
- tristate
+ tristate "Tegra I2S driver"
depends on SND_SOC_TEGRA
+ select SND_SOC_TEGRA_DAS
help
Say Y or M if you want to add support for codecs attached to the
Tegra I2S interface. You will also need to select the individual
diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile
index 13bef8d572c9..3c5c24b720f9 100644
--- a/sound/soc/tegra/Makefile
+++ b/sound/soc/tegra/Makefile
@@ -5,7 +5,7 @@ snd-soc-tegra-i2s-objs := tegra_i2s.o
snd-soc-tegra-utils-objs += tegra_asoc_utils.o
obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-utils.o
-obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-das.o
+obj-$(CONFIG_SND_SOC_TEGRA_DAS) += snd-soc-tegra-das.o
obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o
obj-$(CONFIG_SND_SOC_TEGRA_I2S) += snd-soc-tegra-i2s.o