]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: compress: add config item for soc-compress to make it compiled only when needed
authorJie Yang <yang.jie@intel.com>
Tue, 13 Oct 2015 15:41:00 +0000 (23:41 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 12:52:16 +0000 (13:52 +0100)
commit78abaa380190eeb8c4c68cc51c200f8a9882975c
tree2edb15af0b7a05bb81d75c43e5358f2ffcb1b455
parentf450d139da7e457ae169ef23780bf5e8811b23ac
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>
include/sound/soc-dai.h
include/sound/soc.h
sound/soc/Kconfig
sound/soc/Makefile
sound/soc/intel/Kconfig
sound/soc/intel/atom/sst-mfld-platform-pcm.c
sound/soc/soc-compress.c
sound/soc/soc-core.c