ASoC: qdsp6: audioreach: add Kconfig and Makefile
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 26 Oct 2021 11:16:50 +0000 (12:16 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Oct 2021 12:50:06 +0000 (13:50 +0100)
Now that all the code for audioreach and q6apm are in at this point to be
able to compile, start adding Kconfig and Makefile changes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211026111655.1702-13-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig
sound/soc/qcom/qdsp6/Makefile

index 8c5c1ed..6aaf36b 100644 (file)
@@ -85,6 +85,9 @@ config SND_SOC_QDSP6_ASM_DAI
        select SND_SOC_COMPRESS
        tristate
 
+config SND_SOC_QDSP6_APM
+       tristate
+
 config SND_SOC_QDSP6
        tristate "SoC ALSA audio driver for QDSP6"
        depends on QCOM_APR
@@ -98,6 +101,7 @@ config SND_SOC_QDSP6
        select SND_SOC_QDSP6_ROUTING
        select SND_SOC_QDSP6_ASM
        select SND_SOC_QDSP6_ASM_DAI
+       select SND_SOC_QDSP6_APM
        help
         To add support for MSM QDSP6 Soc Audio.
         This will enable sound soc platform specific
index a4191d3..1a0803d 100644 (file)
@@ -1,5 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 snd-q6dsp-common-objs := q6dsp-common.o q6dsp-lpass-ports.o q6dsp-lpass-clocks.o
+snd-q6apm-objs := q6apm.o audioreach.o
 
 obj-$(CONFIG_SND_SOC_QDSP6_COMMON) += snd-q6dsp-common.o
 obj-$(CONFIG_SND_SOC_QDSP6_CORE) += q6core.o
@@ -10,3 +11,5 @@ obj-$(CONFIG_SND_SOC_QDSP6_ADM) += q6adm.o
 obj-$(CONFIG_SND_SOC_QDSP6_ROUTING) += q6routing.o
 obj-$(CONFIG_SND_SOC_QDSP6_ASM) += q6asm.o
 obj-$(CONFIG_SND_SOC_QDSP6_ASM_DAI) += q6asm-dai.o
+
+obj-$(CONFIG_SND_SOC_QDSP6_APM) += snd-q6apm.o