aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-04-19 12:18:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-21 06:57:31 -0400
commit47912a657ec2aa52c7af5f5e2ecc4efe41094d44 (patch)
tree439ed926434cecb0ddd3ea5a6d2022560eccb024 /sound/soc/tegra/Kconfig
parent61a6d0764be43e014d265128c2af1b41e0fc96b0 (diff)
ARM: Tegra: select MACH_HAS_SND_SOC_TEGRA_WM8903
CONFIG_SND_SOC_TEGRA_WM8903 is useful for many Tegra boards. To avoid the ASoC tegra/Kconfig enumerating them all, instead have the Tegra machine Kconfig select MACH_HAS_SND_SOC_TEGRA_WM8903 where appropriate, and have SND_SOC_TEGRA_WM8903 depend on this. [Redid ASoC diff so it applies. -- broonie] Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Olof Johansson <olof@lixom.net> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index 66b504f06c23..0f103a101e3c 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -14,6 +14,13 @@ config SND_TEGRA_SOC_I2S
14 Tegra I2S interface. You will also need to select the individual 14 Tegra I2S interface. You will also need to select the individual
15 machine drivers to support below. 15 machine drivers to support below.
16 16
17config MACH_HAS_SND_SOC_TEGRA_WM8903
18 bool
19 help
20 Machines that use the SND_SOC_TEGRA_WM8903 driver should select
21 this config option, in order to allow the user to enable
22 SND_SOC_TEGRA_WM8903.
23
17config SND_TEGRA_SOC_HARMONY 24config SND_TEGRA_SOC_HARMONY
18 tristate "SoC Audio support for Tegra Harmony reference board" 25 tristate "SoC Audio support for Tegra Harmony reference board"
19 depends on SND_TEGRA_SOC && MACH_HARMONY && I2C 26 depends on SND_TEGRA_SOC && MACH_HARMONY && I2C