From cce1396936ef2b347d622b4d49718818eb32029d Mon Sep 17 00:00:00 2001 From: Baolin Wang Date: Wed, 27 Mar 2019 19:47:03 +0800 Subject: ASoC: sprd: Add Spreadtrum audio compress offload support We use 2-stage DMA mode to support Spreadtrum audio compress offload, which means we use one DMA source channel to transfer data from IRAM buffer to the DSP fifo to do decoding/encoding, once IRAM buffer is empty by transferring done, another DMA destination channel will be triggered automatically to start to transfer data from DDR buffer to the IRAM buffer. This can reduce the AP subsystem wakeup times to save power. Co-developed-by: Yintang Ren Signed-off-by: Baolin Wang Signed-off-by: Mark Brown --- sound/soc/sprd/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/sprd/Kconfig') diff --git a/sound/soc/sprd/Kconfig b/sound/soc/sprd/Kconfig index 43ece7daf0e9..3b1eb320dab4 100644 --- a/sound/soc/sprd/Kconfig +++ b/sound/soc/sprd/Kconfig @@ -1,6 +1,7 @@ config SND_SOC_SPRD tristate "SoC Audio for the Spreadtrum SoC chips" depends on ARCH_SPRD || COMPILE_TEST + select SND_SOC_COMPRESS help Say Y or M if you want to add support for codecs attached to the Spreadtrum SoCs' Audio interfaces. -- cgit