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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mark Brown

vecāks
26d9ca3462
revīzija
6f0c42269f
@@ -529,7 +529,7 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
|
||||
},
|
||||
{
|
||||
.name = "compress-cpu-dai",
|
||||
.compress_dai = 1,
|
||||
.compress_new = snd_soc_new_compress,
|
||||
.ops = &sst_compr_dai_ops,
|
||||
.playback = {
|
||||
.stream_name = "Compress Playback",
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user