ASoC: msm: use snd event fwk for ssr on auto platform
Switch to use SND event FWK for SSR handling
instead of audio notifier on automotive platform.
Change-Id: I8d0b1ac8f09417a8b33a8e8141f7ae06e1195f54
Signed-off-by: Derek Chen <chenche@codeaurora.org>
diff --git a/soc/Kbuild b/soc/Kbuild
index a1944a1..3e7af12 100644
--- a/soc/Kbuild
+++ b/soc/Kbuild
@@ -15,9 +15,15 @@
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM8150), y)
- include $(AUDIO_ROOT)/config/sm8150auto.conf
- export
- INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
+ ifdef CONFIG_SND_SOC_SA8155
+ include $(AUDIO_ROOT)/config/sa8155auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sa8155autoconf.h
+ else
+ include $(AUDIO_ROOT)/config/sm8150auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
+ endif
endif
ifeq ($(CONFIG_ARCH_KONA), y)
include $(AUDIO_ROOT)/config/konaauto.conf
@@ -48,6 +54,11 @@
export
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
endif
+ ifeq ($(CONFIG_QTI_GVM), y)
+ include $(AUDIO_ROOT)/config/gvmauto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/gvmautoconf.h
+ endif
endif
# As per target team, build is done as follows: