Commit 47912a65 authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 61a6d076
...@@ -27,12 +27,14 @@ comment "Tegra board type" ...@@ -27,12 +27,14 @@ comment "Tegra board type"
config MACH_HARMONY config MACH_HARMONY
bool "Harmony board" bool "Harmony board"
select MACH_HAS_SND_SOC_TEGRA_WM8903
help help
Support for nVidia Harmony development platform Support for nVidia Harmony development platform
config MACH_KAEN config MACH_KAEN
bool "Kaen board" bool "Kaen board"
select MACH_SEABOARD select MACH_SEABOARD
select MACH_HAS_SND_SOC_TEGRA_WM8903
help help
Support for the Kaen version of Seaboard Support for the Kaen version of Seaboard
...@@ -43,6 +45,7 @@ config MACH_PAZ00 ...@@ -43,6 +45,7 @@ config MACH_PAZ00
config MACH_SEABOARD config MACH_SEABOARD
bool "Seaboard board" bool "Seaboard board"
select MACH_HAS_SND_SOC_TEGRA_WM8903
help help
Support for nVidia Seaboard development platform. It will Support for nVidia Seaboard development platform. It will
also be included for some of the derivative boards that also be included for some of the derivative boards that
......
...@@ -14,6 +14,13 @@ config SND_TEGRA_SOC_I2S ...@@ -14,6 +14,13 @@ config SND_TEGRA_SOC_I2S
Tegra I2S interface. You will also need to select the individual Tegra I2S interface. You will also need to select the individual
machine drivers to support below. machine drivers to support below.
config MACH_HAS_SND_SOC_TEGRA_WM8903
bool
help
Machines that use the SND_SOC_TEGRA_WM8903 driver should select
this config option, in order to allow the user to enable
SND_SOC_TEGRA_WM8903.
config SND_TEGRA_SOC_HARMONY config SND_TEGRA_SOC_HARMONY
tristate "SoC Audio support for Tegra Harmony reference board" tristate "SoC Audio support for Tegra Harmony reference board"
depends on SND_TEGRA_SOC && MACH_HARMONY && I2C depends on SND_TEGRA_SOC && MACH_HARMONY && I2C
......
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