Skip to content

Commit

Permalink
ASoC: tegra: introduce separate Kconfig variable for DAS driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Mark Brown committed Apr 1, 2012
1 parent 7deb2b4 commit d9bba49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions sound/soc/tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ 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
help
Say Y or M if you want to add support for the Tegra DAS module.
You will also need to select the individual machine drivers to
support below.

config SND_SOC_TEGRA_I2S
tristate
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
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ snd-soc-tegra-spdif-objs := tegra_spdif.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
obj-$(CONFIG_SND_SOC_TEGRA_SPDIF) += snd-soc-tegra-spdif.o
Expand Down

0 comments on commit d9bba49

Please sign in to comment.