ASoC: sdxpoorwills: add machine driver for audio support
Add ALSA based machine driver for SDXPOORWILLS targets to
provide initial audio support.
Change-Id: Ie13dfa086711863ee7e0f297dfb2d75dc8cf781f
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 91ebf8a..0b1ef28 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -30,6 +30,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y)
+ include $(AUDIO_ROOT)/config/sdxpoorwillsauto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sdxpoorwillsautoconf.h
+ endif
endif
# As per target team, build is done as follows:
@@ -80,6 +85,11 @@
MACHINE_OBJS += sdm845.o
endif
+# for SDXPOORWILLS sound card driver
+ifdef CONFIG_SND_SOC_MACHINE_SDXPOORWILLS
+ MACHINE_OBJS += sdxpoorwills.o
+endif
+
ifdef CONFIG_SND_SOC_CPE
CPE_LSM_OBJS += msm-cpe-lsm.o
endif