Selaa lähdekoodia

config: Disable MI2S, TDM and AUXPCM interfaces for holi

Disable MI2S, TDM and AUXPCM interfaces as they are
unused for holi target. This will reduce the number of mixer
controls registered with asoc and improve the performance.

Change-Id: Icec543124401fc483b02b30c29ebbd293d766bc1
Aditya Bavanari 4 vuotta sitten
vanhempi
sitoutus
da6ab9bc62
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 3 0
      config/holiauto.conf
  2. 3 0
      config/holiautoconf.h

+ 3 - 0
config/holiauto.conf

@@ -31,4 +31,7 @@ export CONFIG_SND_SOC_WCD937X_SLAVE=m
 export CONFIG_SND_SOC_WSA881X_ANALOG=m
 export CONFIG_SND_SOC_HOLI=m
 export CONFIG_SND_EVENT=m
+export CONFIG_TDM_DISABLE=m
+export CONFIG_MI2S_DISABLE=m
+export CONFIG_AUXPCM_DISABLE=m
 export CONFIG_DIGITAL_CDC_RSC_MGR=m

+ 3 - 0
config/holiautoconf.h

@@ -35,4 +35,7 @@
 #define CONFIG_SND_SOC_WSA881X_ANALOG 1
 #define CONFIG_SND_SOC_HOLI 1
 #define CONFIG_SND_EVENT 1
+#define CONFIG_TDM_DISABLE 1
+#define CONFIG_MI2S_DISABLE 1
+#define CONFIG_AUXPCM_DISABLE 1
 #define CONFIG_DIGITAL_CDC_RSC_MGR 1