summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-08-02 15:11:36 -0600
committerStephen Warren <swarren@nvidia.com>2011-08-04 22:57:54 -0600
commit32875777e92294c8eee83d8520a39bb32ad4cae0 (patch)
tree3b46b6ac4993f32fe670c5645d1cf15c19c327fd /sound
parentabe7f890a18fd703aefea854d0a37010674d09df (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>
Diffstat (limited to 'sound')
-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 6e03af7a1d46..b20bf043d417 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
@@ -29,7 +29,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