Bladeren bron

config: sm6150: Enable compilation of snd_event

Enable compilation of snd_event driver for sm6150.

Change-Id: Ia6c62fea8d3660e187e79d1743a1b6862f3dd228
Signed-off-by: Rohit kumar <[email protected]>
Rohit kumar 6 jaren geleden
bovenliggende
commit
27138766db
3 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 1 0
      config/sm6150auto.conf
  2. 1 0
      config/sm6150autoconf.h
  3. 1 1
      soc/Android.mk

+ 1 - 0
config/sm6150auto.conf

@@ -45,3 +45,4 @@ CONFIG_TX_MACRO=m
 CONFIG_SND_SOC_WCD_IRQ=m
 CONFIG_SND_SOC_WCD937X=m
 CONFIG_SND_SOC_WCD937X_SLAVE=m
+CONFIG_SND_EVENT=m

+ 1 - 0
config/sm6150autoconf.h

@@ -58,3 +58,4 @@
 #define CONFIG_SND_SOC_WCD_IRQ 1
 #define CONFIG_SND_SOC_WCD937X 1
 #define CONFIG_SND_SOC_WCD937X_SLAVE 1
+#define CONFIG_SND_EVENT 1

+ 1 - 1
soc/Android.mk

@@ -82,7 +82,7 @@ LOCAL_MODULE_DEBUG_ENABLE := true
 LOCAL_MODULE_PATH         := $(KERNEL_MODULES_OUT)
 include $(DLKM_DIR)/AndroidKernelModule.mk
 ###########################################################
-ifeq ($(call is-board-platform-in-list, ),true)
+ifeq ($(call is-board-platform-in-list, $(MSMSTEPPE)),true)
 include $(CLEAR_VARS)
 LOCAL_MODULE              := $(AUDIO_CHIPSET)_snd_event.ko
 LOCAL_MODULE_KBUILD_NAME  := snd_event_dlkm.ko