summaryrefslogtreecommitdiff
path: root/sound/soc/sprd/Makefile
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-03-27 14:47:03 +0300
committerMark Brown <broonie@kernel.org>2019-04-02 08:57:03 +0300
commitcce1396936ef2b347d622b4d49718818eb32029d (patch)
tree0333bed943371092581cef52a50895c53d9efd1d /sound/soc/sprd/Makefile
parentf661fa2804af6950d1b7f5ffa22f6a80dcf52958 (diff)
downloadlinux-cce1396936ef2b347d622b4d49718818eb32029d.tar.xz
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 <yintang.ren@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sprd/Makefile')
-rw-r--r--sound/soc/sprd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sprd/Makefile b/sound/soc/sprd/Makefile
index 47620e57a9f2..fa1d5476b8da 100644
--- a/sound/soc/sprd/Makefile
+++ b/sound/soc/sprd/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# Spreadtrum Audio Support
-obj-$(CONFIG_SND_SOC_SPRD) += sprd-pcm-dma.o
+obj-$(CONFIG_SND_SOC_SPRD) += sprd-pcm-dma.o sprd-pcm-compress.o