aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-03-30 19:07:22 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 06:28:32 -0400
commitd9bba496d47085555f4b011be6d716308cf4de03 (patch)
tree4bb9917a0bac717aff1a3feede586ea44e83d05b
parent7deb2b450df9975ab05deb885e386d59a16213a9 (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> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/tegra/Kconfig9
-rw-r--r--sound/soc/tegra/Makefile2
2 files changed, 10 insertions, 1 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index f8fcda33208e..23ab00d5b192 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -4,9 +4,18 @@ config SND_SOC_TEGRA
4 help 4 help
5 Say Y or M here if you want support for SoC audio on Tegra. 5 Say Y or M here if you want support for SoC audio on Tegra.
6 6
7config SND_SOC_TEGRA_DAS
8 tristate "Tegra Digital Audio Switch driver"
9 depends on SND_SOC_TEGRA
10 help
11 Say Y or M if you want to add support for the Tegra DAS module.
12 You will also need to select the individual machine drivers to
13 support below.
14
7config SND_SOC_TEGRA_I2S 15config SND_SOC_TEGRA_I2S
8 tristate 16 tristate
9 depends on SND_SOC_TEGRA 17 depends on SND_SOC_TEGRA
18 select SND_SOC_TEGRA_DAS
10 help 19 help
11 Say Y or M if you want to add support for codecs attached to the 20 Say Y or M if you want to add support for codecs attached to the
12 Tegra I2S interface. You will also need to select the individual 21 Tegra I2S interface. You will also need to select the individual
diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile
index 8e584b8fcfba..6d5d81e188a2 100644
--- a/sound/soc/tegra/Makefile
+++ b/sound/soc/tegra/Makefile
@@ -6,7 +6,7 @@ snd-soc-tegra-spdif-objs := tegra_spdif.o
6snd-soc-tegra-utils-objs += tegra_asoc_utils.o 6snd-soc-tegra-utils-objs += tegra_asoc_utils.o
7 7
8obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-utils.o 8obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-utils.o
9obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-das.o 9obj-$(CONFIG_SND_SOC_TEGRA_DAS) += snd-soc-tegra-das.o
10obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o 10obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o
11obj-$(CONFIG_SND_SOC_TEGRA_I2S) += snd-soc-tegra-i2s.o 11obj-$(CONFIG_SND_SOC_TEGRA_I2S) += snd-soc-tegra-i2s.o
12obj-$(CONFIG_SND_SOC_TEGRA_SPDIF) += snd-soc-tegra-spdif.o 12obj-$(CONFIG_SND_SOC_TEGRA_SPDIF) += snd-soc-tegra-spdif.o