ASoC: config: Enable sdm450 audio compilation
Enable compilation for sdm450 audio drivers
for internal codec support.
CRs-Fixed: 2165343
Change-Id: I56eda34fad45ee3b88a1c90585a34a97e89c1f93
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 96c412b..4f0fc09 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -26,9 +26,9 @@
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
endif
ifeq ($(CONFIG_ARCH_SDM450), y)
- include $(AUDIO_ROOT)/config/sdm670auto.conf
+ include $(AUDIO_ROOT)/config/sdm450auto.conf
export
- INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
+ INCS += -include $(AUDIO_ROOT)/config/sdm450autoconf.h
endif
ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
include $(AUDIO_ROOT)/config/sdxpoorwillsauto.conf
@@ -90,6 +90,11 @@
MACHINE_OBJS += sdxpoorwills.o
endif
+# for SDM450 sound card driver
+ifdef CONFIG_SND_SOC_SDM450
+ MACHINE_OBJS += msm8952.o
+endif
+
ifdef CONFIG_SND_SOC_CPE
CPE_LSM_OBJS += msm-cpe-lsm.o
endif
@@ -175,6 +180,9 @@
obj-$(CONFIG_SND_SOC_QDSP6V2) += platform_dlkm.o
platform_dlkm-y := $(PLATFORM_OBJS)
+obj-$(CONFIG_SND_SOC_SDM450) += machine_dlkm.o
+machine_dlkm-y := $(MACHINE_OBJS)
+
obj-$(CONFIG_SND_SOC_MACHINE_SDM845) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)