summaryrefslogtreecommitdiffstats
path: root/sound/soc/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-08-15 08:24:20 -0700
committerMark Brown <broonie@kernel.org>2015-08-17 22:45:47 -0700
commit78b50f39142612d01073595d33e7cc48f03a5a2f (patch)
tree1f1d528104103efc050c367a052edf9d16b542bf /sound/soc/Kconfig
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadtalos-obmc-linux-78b50f39142612d01073595d33e7cc48f03a5a2f.tar.gz
talos-obmc-linux-78b50f39142612d01073595d33e7cc48f03a5a2f.zip
ASoC: topology: Add Kconfig option for topology
Allow the topology code to be compiled out so that users who don't need topology don't need to havve the code compiled in, saving them some memory. Some more configuration could be added to remove some of the hooks into the core data structures but that is probably best done with some refactoring to use functions to do the updates of the data structures rather than ifdefing in the code as we'd need to do at the minute. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/Kconfig')
-rw-r--r--sound/soc/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index 2ae9619443d1..1d651b8a8957 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -30,6 +30,9 @@ config SND_SOC_GENERIC_DMAENGINE_PCM
bool
select SND_DMAENGINE_PCM
+config SND_SOC_TOPOLOGY
+ bool
+
# All the supported SoCs
source "sound/soc/adi/Kconfig"
source "sound/soc/atmel/Kconfig"
OpenPOWER on IntegriCloud