summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-08-02 15:11:36 -0600
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:19 -0800
commit5a97839cfa8ed2de6d30032fbacd619a429578e2 (patch)
treed74a33ef1bfc8cf4f6f7cb09d0f23d7f3c1fa2c1 /sound/soc/tegra/Kconfig
parentf8b850ce8f3d9f1743be168d0cb76cdbd6804c93 (diff)
ASoC: Tegra: Make Tegra20 drivers depend on Tegra20 support
Without this, the Tegra20 drivers can be built into a kernel that's built for Tegra30. Signed-off-by: Stephen Warren <swarren@nvidia.com> Rebase-Id: R35d2a776e6a245271c77e4c98e9e80f698e4a9aa
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index 17a6e2d44428..5894869e32f7 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -7,11 +7,11 @@ config SND_SOC_TEGRA
config SND_SOC_TEGRA_DAS
tristate "Tegra Digital Audio Switch driver"
- depends on SND_SOC_TEGRA
+ depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
config SND_SOC_TEGRA_I2S
tristate "Tegra I2S driver"
- depends on SND_SOC_TEGRA
+ depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA_DAS
help
Say Y or M if you want to add support for codecs attached to the
@@ -38,7 +38,7 @@ config SND_SOC_TEGRA_WM8903
tristate "SoC Audio support for Tegra boards using a WM8903 codec"
depends on SND_SOC_TEGRA && I2C
depends on MACH_HAS_SND_SOC_TEGRA_WM8903
- select SND_SOC_TEGRA_I2S
+ select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_WM8903
help
Say Y or M here if you want to add support for SoC audio on Tegra