Prechádzať zdrojové kódy

asoc: rouleur: Enable rouleur codec driver compilation

Add changes to enable compilation for rouleur
codec driver.

Change-Id: I87eefe0c3d9bbe6445391902110fb210c4b0cd5b
Signed-off-by: Aditya Bavanari <[email protected]>
Aditya Bavanari 5 rokov pred
rodič
commit
6389dd3809
3 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 1 0
      asoc/codecs/Kbuild
  2. 3 0
      config/bengalauto.conf
  3. 3 0
      config/bengalautoconf.h

+ 1 - 0
asoc/codecs/Kbuild

@@ -237,6 +237,7 @@ ifeq ($(KERNEL_BUILD), 1)
 	obj-y	+= wcd938x/
 	obj-y	+= bolero/
 	obj-y	+= wsa883x/
+	obj-y	+= rouleur/
 endif
 # Module information used by KBuild framework
 obj-$(CONFIG_WCD9XXX_CODEC_CORE) += wcd_core_dlkm.o

+ 3 - 0
config/bengalauto.conf

@@ -30,6 +30,9 @@ CONFIG_TX_MACRO=m
 CONFIG_SND_SOC_WCD_IRQ=m
 CONFIG_SND_SOC_WCD937X=m
 CONFIG_SND_SOC_WCD937X_SLAVE=m
+CONFIG_SND_SOC_ROULEUR=m
+CONFIG_SND_SOC_ROULEUR_SLAVE=m
+CONFIG_PM2250_SPMI=m
 CONFIG_SND_SOC_BENGAL=m
 CONFIG_SND_EVENT=m
 CONFIG_TDM_DISABLE=m

+ 3 - 0
config/bengalautoconf.h

@@ -34,6 +34,9 @@
 #define CONFIG_SND_SOC_WCD_IRQ 1
 #define CONFIG_SND_SOC_WCD937X 1
 #define CONFIG_SND_SOC_WCD937X_SLAVE 1
+#define CONFIG_SND_SOC_ROULEUR 1
+#define CONFIG_SND_SOC_ROULEUR_SLAVE 1
+#define CONFIG_PM2250_SPMI 1
 #define CONFIG_SND_SOC_BENGAL 1
 #define CONFIG_SND_EVENT 1
 #define CONFIG_TDM_DISABLE 1