blob: 1a3cf524a7eccaef8d3da071a8eaa815cad435b6 [file] [log] [blame]
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Todd Kjos <tkjos@google.com>
Date: Tue, 17 Sep 2019 15:57:02 -0700
Subject: ANDROID: init: GKI: enable hidden configs for SND_SOC
Add hidden configs to GKI_HACKS_TO_FIX so they are
enabled for loadable SND_SOC modules built out-of-tree
Bug: 141266428
Change-Id: I4782b5bb401a76c647bac41258c1371762dace1c
Signed-off-by: Todd Kjos <tkjos@google.com>
---
init/Kconfig.gki | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/init/Kconfig.gki b/init/Kconfig.gki
index 45966f3325b9..bbd5fac69355 100644
--- a/init/Kconfig.gki
+++ b/init/Kconfig.gki
@@ -17,6 +17,14 @@ config GKI_HIDDEN_REGMAP_CONFIGS
These are normally selected implicitely when a module
that relies on it is configured.
+config GKI_HIDDEN_SND_SOC_CONFIGS
+ bool "Hidden SND_SOC configs needed for GKI"
+ select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
+ help
+ Dummy config option used to enable hidden SND_SOC configs.
+ These are normally selected implicitely when a module
+ that relies on it is configured.
+
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@@ -28,6 +36,7 @@ config GKI_HACKS_TO_FIX
bool "GKI Dummy config options"
select GKI_HIDDEN_DRM_CONFIGS
select GKI_HIDDEN_REGMAP_CONFIGS
+ select GKI_HIDDEN_SND_SOC_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.