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)
commit6f0c42269f000b1e346c84d9a589f17aa94c96d8
tree2edb15af0b7a05bb81d75c43e5358f2ffcb1b455
parent26d9ca3462df8f7e83fc372b23c8da5ed2b1c4f3
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