From 194fc9ea8a50fa11e9b03bf04449614fc79be59a Mon Sep 17 00:00:00 2001 From: Adrian-CJ Hung Date: Wed, 28 Apr 2021 22:24:36 +0800 Subject: [PATCH] ANDROID: GKI: enable hidden configs for DMA Add hidden configs to ASYNC_TX_ENABLE_CHANNEL_SWITCH so they are enabled for loadable DMA modules built out-of-tree Bug: 177807056 Signed-off-by: Adrian-CJ Hung Change-Id: I36866ad4d93eab9a826928ac8f0dc8cac84c232c Signed-off-by: Giuliano Procida (cherry picked from commit 0dc97b664f834a1f25ae5cb3a653e131da1d2798) --- init/Kconfig.gki | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init/Kconfig.gki b/init/Kconfig.gki index 54fe05760bea..bdf5db9b5afe 100644 --- a/init/Kconfig.gki +++ b/init/Kconfig.gki @@ -217,6 +217,13 @@ config GKI_HIDDEN_ETHERNET_CONFIGS Dummy config option used to enable the hidden Ethernet PHYLINK configs, required by various ethernet devices. +config GKI_HIDDEN_DMA_CONFIGS + bool "Hidden DMA configuration needed for GKI" + select ASYNC_TX_ENABLE_CHANNEL_SWITCH + help + Dummy config option used to enable the hidden DMA configs, + required by various SoC platforms. + # Atrocities needed for # a) building GKI modules in separate tree, or # b) building drivers that are not modularizable @@ -247,6 +254,8 @@ config GKI_HACKS_TO_FIX select GKI_HIDDEN_PHY_CONFIGS select GKI_HIDDEN_MM_CONFIGS select GKI_HIDDEN_ETHERNET_CONFIGS + select GKI_HIDDEN_DMA_CONFIGS + help Dummy config option used to enable core functionality used by modules that may not be selectable in this config.