Browse Source

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
Houston Hoffman 8 năm trước cách đây
mục cha
commit
1158c0a444
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      Kbuild

+ 7 - 0
Kbuild

@@ -285,6 +285,13 @@ ifeq ($(CONFIG_ROME_IF),pci)
 	CONFIG_EXT_WOW := 1
 	CONFIG_EXT_WOW := 1
 endif
 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.
 #Set this to 1 to catch erroneous Target accesses during debug.
 CONFIG_ATH_PCIE_ACCESS_DEBUG := 0
 CONFIG_ATH_PCIE_ACCESS_DEBUG := 0