From 6d5ce1ff4ef8f472ee5e03820aa57bf5c2a90b81 Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Thu, 6 Feb 2020 12:53:35 +0530 Subject: [PATCH] config: lito: Disable MI2S, TDM and AUXPCM interfaces Disable MI2S, TDM and AUXPCM interfaces to avoid unnecessary registration of mixer controls and improve performance in loading mixer paths. Change-Id: I093aa1cee9bf6b6e5f17c45e3327deb6fc11018c Signed-off-by: Aditya Bavanari --- config/litoauto.conf | 3 +++ config/litoautoconf.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/litoauto.conf b/config/litoauto.conf index 0bbe4f742e9a..055e1322e8c3 100644 --- a/config/litoauto.conf +++ b/config/litoauto.conf @@ -34,3 +34,6 @@ CONFIG_SND_SOC_WCD938X=m CONFIG_SND_SOC_WCD938X_SLAVE=m CONFIG_SND_SOC_LITO=m CONFIG_SND_EVENT=m +CONFIG_MI2S_DISABLE=m +CONFIG_TDM_DISABLE=m +CONFIG_AUXPCM_DISABLE=m diff --git a/config/litoautoconf.h b/config/litoautoconf.h index 2d19f2dab9ab..36ca3f08fda6 100644 --- a/config/litoautoconf.h +++ b/config/litoautoconf.h @@ -38,3 +38,6 @@ #define CONFIG_SND_SOC_WCD938X_SLAVE 1 #define CONFIG_SND_SOC_LITO 1 #define CONFIG_SND_EVENT 1 +#define CONFIG_MI2S_DISABLE 1 +#define CONFIG_TDM_DISABLE 1 +#define CONFIG_AUXPCM_DISABLE 1