summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-07-11 18:24:36 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-09-05 01:23:17 -0700
commit1158c0a44420a833a838bb80cb88a107dd8bfd4e (patch)
treed0228012f708cfb7f19764fcfae59c3a297f2b0d /Kbuild
parent32e0c6ffc1822853f748384128678a7df3070cbb (diff)
downloadqcacld-1158c0a44420a833a838bb80cb88a107dd8bfd4e.tar.gz
qcacld-3.0: Enable runtime pm compilation by default
Compile in runtime pm code for mcl. Maintain compilation of runtime pm for future product lines and discrete chipsets. Change-Id: Ieb34a64bf4624e959ae64aafa8ab03085aad9164 CRs-Fixed: 1044155
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/Kbuild b/Kbuild
index dd5d11b872..0e4db79eca 100644
--- a/Kbuild
+++ b/Kbuild
@@ -285,6 +285,13 @@ ifeq ($(CONFIG_ROME_IF),pci)
CONFIG_EXT_WOW := 1
endif
+# Flag to enable bus auto suspend
+ifeq ($(CONFIG_ROME_IF),pci)
+ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y)
+CDEFINES += -DFEATURE_RUNTIME_PM
+endif
+endif
+
#Set this to 1 to catch erroneous Target accesses during debug.
CONFIG_ATH_PCIE_ACCESS_DEBUG := 0