Commit a7fda2ba authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown

ASoC: tegra: make Tegra20 drivers depend on Tegra20 support

Without this, the Tegra20 drivers can be built into a kernel that's
built only for Tegra30.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 063dd9d4
...@@ -6,7 +6,7 @@ config SND_SOC_TEGRA ...@@ -6,7 +6,7 @@ config SND_SOC_TEGRA
config SND_SOC_TEGRA_DAS config SND_SOC_TEGRA_DAS
tristate tristate
depends on SND_SOC_TEGRA depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
help help
Say Y or M if you want to add support for the Tegra DAS module. 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 You will also need to select the individual machine drivers to
...@@ -14,7 +14,7 @@ config SND_SOC_TEGRA_DAS ...@@ -14,7 +14,7 @@ config SND_SOC_TEGRA_DAS
config SND_SOC_TEGRA_I2S config SND_SOC_TEGRA_I2S
tristate tristate
depends on SND_SOC_TEGRA depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA_DAS select SND_SOC_TEGRA_DAS
help help
Say Y or M if you want to add support for codecs attached to the Say Y or M if you want to add support for codecs attached to the
...@@ -23,7 +23,7 @@ config SND_SOC_TEGRA_I2S ...@@ -23,7 +23,7 @@ config SND_SOC_TEGRA_I2S
config SND_SOC_TEGRA_SPDIF config SND_SOC_TEGRA_SPDIF
tristate tristate
depends on SND_SOC_TEGRA depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
default m default m
help help
Say Y or M if you want to add support for the SPDIF interface. Say Y or M if you want to add support for the SPDIF interface.
...@@ -41,7 +41,7 @@ config SND_SOC_TEGRA_WM8903 ...@@ -41,7 +41,7 @@ config SND_SOC_TEGRA_WM8903
tristate "SoC Audio support for Tegra boards using a WM8903 codec" tristate "SoC Audio support for Tegra boards using a WM8903 codec"
depends on SND_SOC_TEGRA && I2C depends on SND_SOC_TEGRA && I2C
depends on MACH_HAS_SND_SOC_TEGRA_WM8903 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 select SND_SOC_WM8903
help help
Say Y or M here if you want to add support for SoC audio on Tegra Say Y or M here if you want to add support for SoC audio on Tegra
...@@ -51,7 +51,7 @@ config SND_SOC_TEGRA_WM8903 ...@@ -51,7 +51,7 @@ config SND_SOC_TEGRA_WM8903
config SND_SOC_TEGRA_TRIMSLICE config SND_SOC_TEGRA_TRIMSLICE
tristate "SoC Audio support for TrimSlice board" tristate "SoC Audio support for TrimSlice board"
depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C
select SND_SOC_TEGRA_I2S select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_TLV320AIC23 select SND_SOC_TLV320AIC23
help help
Say Y or M here if you want to add support for SoC audio on the Say Y or M here if you want to add support for SoC audio on the
...@@ -60,7 +60,7 @@ config SND_SOC_TEGRA_TRIMSLICE ...@@ -60,7 +60,7 @@ config SND_SOC_TEGRA_TRIMSLICE
config SND_SOC_TEGRA_ALC5632 config SND_SOC_TEGRA_ALC5632
tristate "SoC Audio support for Tegra boards using an ALC5632 codec" tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
depends on SND_SOC_TEGRA && I2C depends on SND_SOC_TEGRA && I2C
select SND_SOC_TEGRA_I2S select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_ALC5632 select SND_SOC_ALC5632
help help
Say Y or M here if you want to add support for SoC audio on the Say Y or M here if you want to add support for SoC audio on the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment