From da6ab9bc6294ff2e424b1d98b5b85d9519bea987 Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Thu, 20 Aug 2020 14:59:13 +0530 Subject: [PATCH] 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 --- config/holiauto.conf | 3 +++ config/holiautoconf.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/holiauto.conf b/config/holiauto.conf index 770c90b81a58..e46212b20fee 100644 --- a/config/holiauto.conf +++ b/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 diff --git a/config/holiautoconf.h b/config/holiautoconf.h index 6bbf12e2df43..b1758be036d6 100644 --- a/config/holiautoconf.h +++ b/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