asoc: clean up audio drivers and remove unused files
Clean up audio drivers and remove unused files.
Change-Id: I50559ac3c5f4a1f4336e4480cd3ff235d015441e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
diff --git a/asoc/Android.mk b/asoc/Android.mk
index ae00ed7..7937120 100644
--- a/asoc/Android.mk
+++ b/asoc/Android.mk
@@ -3,16 +3,6 @@
# Assume no targets will be supported
# Check if this driver needs be built for current target
-ifeq ($(call is-board-platform,sdm845),true)
-TARGET := sdm845
-AUDIO_SELECT := CONFIG_SND_SOC_SDM845=m
-endif
-
-ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
-TARGET := sdm670
-AUDIO_SELECT := CONFIG_SND_SOC_SDM670=m
-endif
-
ifeq ($(call is-board-platform,msmnile),true)
TARGET := msmnile
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
@@ -30,7 +20,7 @@
AUDIO_CHIPSET := audio
# Build/Package only in case of supported target
-ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE) $(TRINKET)),true)
+ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE) $(TRINKET)),true)
LOCAL_PATH := $(call my-dir)
@@ -65,7 +55,7 @@
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
include $(DLKM_DIR)/AndroidKernelModule.mk
###########################################################
-ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
+ifeq ($(call is-board-platform-in-list, ),true)
include $(CLEAR_VARS)
LOCAL_MODULE := $(AUDIO_CHIPSET)_cpe_lsm.ko
LOCAL_MODULE_KBUILD_NAME := cpe_lsm_dlkm.ko