summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2011-10-06 10:55:04 +0300
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:26 -0800
commit753cdc02611cd5792dcee1b805b470aceae9f28d (patch)
treec015062fd187c3be3f41ee72990758c6daa6e6d1 /sound/soc/tegra/Kconfig
parentd229bde19ad403fb74c72ff8fb253f87c91cf714 (diff)
arm: tegra: Make kernel buildable without nvhost
Cuts dependencies to nvhost by adding a Kconfig dependency from DC to GRHOST and from HD Audio to DC. Configure out calls to nvhost in board panel files if GRHOST is not present. Bug 870898 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf Reviewed-on: http://git-master/r/56370 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Chris Dragan <kdragan@nvidia.com> Rebase-Id: R16d9286d67235b0697c914476e7d6462eec7f3ac
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index c69f058f625c..122b515efb8b 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -33,7 +33,7 @@ config SND_SOC_TEGRA30_I2S
config SND_SOC_TEGRA20_SPDIF
tristate
- depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
+ depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC && TEGRA_DC
default m
help
Say Y or M if you want to add support for the TEGRA20 SPDIF interface.
@@ -42,7 +42,7 @@ config SND_SOC_TEGRA20_SPDIF
config SND_SOC_TEGRA30_SPDIF
tristate
- depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
+ depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC && TEGRA_DC
select SND_SOC_TEGRA30_AHUB
help
Say Y or M if you want to add support for the TEGRA30 SPDIF interface.
@@ -58,7 +58,7 @@ config MACH_HAS_SND_SOC_TEGRA_WM8903
config SND_SOC_TEGRA_WM8903
tristate "SoC Audio support for Tegra boards using a WM8903 codec"
- depends on SND_SOC_TEGRA && I2C
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_WM8903
select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
@@ -89,7 +89,7 @@ config MACH_HAS_SND_SOC_TEGRA_WM8753
config SND_SOC_TEGRA_WM8753
tristate "SoC Audio support for Tegra boards using a WM8753 codec"
- depends on SND_SOC_TEGRA && I2C
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_WM8753
select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
@@ -111,7 +111,7 @@ config MACH_HAS_SND_SOC_TEGRA_MAX98088
config SND_SOC_TEGRA_MAX98088
tristate "SoC Audio support for Tegra boards using a MAX98088 codec"
- depends on SND_SOC_TEGRA && I2C
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_MAX98088
select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC