summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Bavanari <abavanar@codeaurora.org>2020-02-06 12:53:35 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-05-12 06:11:27 -0700
commitef3fa691bd4fae7f00fb52142822140df48f43bd (patch)
treee913e9d143ee864a56998b2207412993adca0f47
parent1038df1f062f935cc44c463c7dbb63934b80cca8 (diff)
downloadmsm-extra-ef3fa691bd4fae7f00fb52142822140df48f43bd.tar.gz
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 <abavanar@codeaurora.org>
-rw-r--r--config/litoauto.conf3
-rw-r--r--config/litoautoconf.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/litoauto.conf b/config/litoauto.conf
index d0030bbe..ecf848cf 100644
--- a/config/litoauto.conf
+++ b/config/litoauto.conf
@@ -38,3 +38,6 @@ CONFIG_SND_SOC_WCD937X=m
CONFIG_SND_SOC_WCD937X_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 322ac73a..3c979ccb 100644
--- a/config/litoautoconf.h
+++ b/config/litoautoconf.h
@@ -42,3 +42,6 @@
#define CONFIG_SND_SOC_WCD937X_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