diff options
author | Jie Yang <yang.jie@intel.com> | 2015-10-13 23:41:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-22 13:52:16 +0100 |
commit | 6f0c42269f000b1e346c84d9a589f17aa94c96d8 (patch) | |
tree | 2edb15af0b7a05bb81d75c43e5358f2ffcb1b455 /sound/soc/Kconfig | |
parent | 26d9ca3462df8f7e83fc372b23c8da5ed2b1c4f3 (diff) | |
download | linux-6f0c42269f000b1e346c84d9a589f17aa94c96d8.tar.bz2 |
ASoC: compress: add config item for soc-compress to make it compiled only when needed
We don't always need soc-compress in soc, here add a config item
SND_SOC_COMPRESS, when nobody select it, the soc-compress will
not be compiled.
Here also change Kconfig to 'select SND_SOC_COMPRESS' for drivers
that needed soc-compress.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/Kconfig')
-rw-r--r-- | sound/soc/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 225bfda414e9..3e4f44434600 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -9,7 +9,6 @@ menuconfig SND_SOC select SND_JACK if INPUT=y || INPUT=SND select REGMAP_I2C if I2C select REGMAP_SPI if SPI_MASTER - select SND_COMPRESS_OFFLOAD ---help--- If you want ASoC support, you should say Y here and also to the @@ -30,6 +29,10 @@ config SND_SOC_GENERIC_DMAENGINE_PCM bool select SND_DMAENGINE_PCM +config SND_SOC_COMPRESS + bool + select SND_COMPRESS_OFFLOAD + config SND_SOC_TOPOLOGY bool |