ASoC: compress: add config item for soc-compress to make it compiled only when needed
[firefly-linux-kernel-4.4.55.git] / sound / soc / Kconfig
index 225bfda414e98d91da49140451d8bb09e16c9f12..3e4f444346000cee2f97cf676017f75c5335f831 100644 (file)
@@ -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